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



11
12
13
# File 'lib/representable/xml/collection.rb', line 11

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