class Hash
Public Instance Methods
to_json()
click to toggle source
# File lib/json_sorted.rb, line 5 def to_json JSON.generate(sort.to_h) end
# File lib/json_sorted.rb, line 5 def to_json JSON.generate(sort.to_h) end