Method: Representable::Hash::Collection#create_representation_with
- Defined in:
- lib/representable/hash/collection.rb
#create_representation_with(doc, options, format) ⇒ Object
21 22 23 24 |
# File 'lib/representable/hash/collection.rb', line 21 def create_representation_with(doc, , format) bin = representable_mapper(format, ).bindings.first bin.render_fragment(represented, doc) end |