2 3 4 5 6
# File 'lib/jexp/ext/hash.rb', line 2 def to_jexp inject(self::class.new) do |h, (key, value)| h.update key.to_s => JEXP.jexp(value) end end