Class: Array

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



5
6
7
# File 'lib/tire/rubyext/to_json.rb', line 5

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