Method: Representable::XML::Collection::Methods#create_representation_with
- Defined in:
- lib/representable/xml/collection.rb
#create_representation_with(doc, options, format) ⇒ Object
10 11 12 13 |
# File 'lib/representable/xml/collection.rb', line 10 def create_representation_with(doc, , format) bin = representable_map(, format).first bin.write(doc, super, bin.name) end |