Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/tire/rubyext/hash.rb

Instance Method Summary collapse

Instance Method Details

#to_json(options = nil) ⇒ Object Also known as: to_indexed_json


3
4
5
# File 'lib/tire/rubyext/hash.rb', line 3

def to_json(options=nil)
  MultiJson.encode(self)
end