Sha256: 0b6a24edd7d4f9cb757dc65781f83eb91410176f716532794bef095dbb82b505
Contents?: true
Size: 419 Bytes
Versions: 10
Compression:
Stored size: 419 Bytes
Contents
module Representable::XML module Collection include Representable::XML def self.included(base) base.send :include, Representable::Hash::Collection base.send :include, Methods end module Methods def update_properties_from(doc, *args) super(doc.search("./*"), *args) # pass the list of collection items to Hash::Collection#update_properties_from. end end end end
Version data entries
10 entries across 10 versions & 1 rubygems