Module: EDN::CoreExt::Hash

Defined in:
lib/edn/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_ednObject


65
66
67
# File 'lib/edn/core_ext.rb', line 65

def to_edn
  '{' + self.map { |k, v| [k, v].map(&:to_edn).join(" ") }.join(", ") + '}'
end