Module: Representable::XML::Collection::Methods

Defined in:
lib/representable/xml/collection.rb

Instance Method Summary collapse

Instance Method Details

#update_properties_from(doc, *args) ⇒ Object



13
14
15
# File 'lib/representable/xml/collection.rb', line 13

def update_properties_from(doc, *args)
  super(doc.search("./*"), *args) # pass the list of collection items to Hash::Collection#update_properties_from.
end