Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/cli_miami.rb

Overview

Add custom Hash methods

Instance Method Summary collapse

Instance Method Details

#to_cli_miami_stringObject


12
13
14
15
16
# File 'lib/cli_miami.rb', line 12

def to_cli_miami_string
  map do |k, v|
    "#{k}: #{v}"
  end.to_sentence
end