Class: Hash

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

Instance Method Summary collapse

Instance Method Details

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



11
12
13
# File 'lib/tire/rubyext/to_json.rb', line 11

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