module Representable::XML::Collection::Methods
Public Instance Methods
Source
# File lib/representable/xml/collection.rb, line 10 def create_representation_with(doc, options, format) bin = representable_map(options, format).first bin.write(doc, super, bin.name) end
Calls superclass method
Source
# File lib/representable/xml/collection.rb, line 15 def update_properties_from(doc, *args) super(doc.search("./*"), *args) # pass the list of collection items to Hash::Collection#update_properties_from. end
Calls superclass method