It'd be more idiomatic to have the 'puts' on its own line, eg
```ruby
else
  puts "{}"
end
```