Sha256: f19aa5fb9a6d5687dd2a59ac4c9cd30befeb6bdfa44068672c71d772592142f0

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

class Rtml::Dom::Collections::PropertySet < Array
  def build(options)
    self << (ret = Rtml::Dom::Property.new(options))
    ret
  end

  def destroy_all
    each { |item| item.before_destroy if item.respond_to?(:before_destroy) }
    clear
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtml-2.0.4 builtin/models/rtml/dom/collections/property_set.rb