Ruby - Hashes
What will be the output of this Ruby code?
```ruby
def details(opts = {})
"Age: #{opts[:age]}, City: #{opts[:city]}"
end
puts details(city: 'Paris', age: 25)
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions