Class: Hash
Instance Method Summary collapse
Instance Method Details
#to_plasma ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/plasma/interpreter/class_mods.rb', line 35 def to_plasma plasma = self.map do |key, value| "#{key.to_s}:#{value.to_plasma}" end.join ' ' return "{#{plasma}}" end |