Module: Enumerable

Included in:
DataMapper::PropertySet, DataMapper::Validate::ValidationErrors, Gtk::TreeIter
Defined in:
lib/gems/json_pure-1.1.3/lib/json/add/rails.rb

Instance Method Summary collapse

Instance Method Details

#to_json(*a) ⇒ Object



38
39
40
# File 'lib/gems/json_pure-1.1.3/lib/json/add/rails.rb', line 38

def to_json(*a)
  to_a.to_json(*a)
end