Class: XmlParsable::Elements::RecordElement::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/xmlparsable/elements/record.rb

Instance Method Summary collapse

Constructor Details

#initialize(base, parsers) ⇒ Proxy

Returns a new instance of Proxy.



36
37
38
# File 'lib/xmlparsable/elements/record.rb', line 36

def initialize(base, parsers)
  @base, @parsers = base, parsers
end

Instance Method Details

#new(name, attributes, parent, arguments) ⇒ Object



40
41
42
# File 'lib/xmlparsable/elements/record.rb', line 40

def new(name, attributes, parent, arguments)
  RecordElement.new(name, attributes, parent, @base.new, @parsers, arguments)
end