Module: InJson::ArrayExt::InstanceMethods
- Defined in:
- lib/in_json/ext/array.rb
Instance Method Summary collapse
Instance Method Details
#in_json(name = :default, overrule_definition = nil) ⇒ Object
8 9 10 |
# File 'lib/in_json/ext/array.rb', line 8 def in_json(name = :default, overrule_definition = nil) map { |entry| entry.respond_to?(:in_json) ? entry.in_json(name, overrule_definition) : entry } end |