Ruby - Hashes
What will be the output of this Ruby code?
```ruby
def order_summary(details = {})
"Item: #{details[:item]}, Quantity: #{details[:quantity] || 1}"
end
puts order_summary(item: 'Book')
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions