Class: SAXMachine::SAXAbstractHandler::StackNode
- Inherits:
-
Struct
- Object
- Struct
- SAXMachine::SAXAbstractHandler::StackNode
- Defined in:
- lib/sax-machine/handlers/sax_abstract_handler.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
Returns the value of attribute buffer.
-
#config ⇒ Object
Returns the value of attribute config.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object, config = nil, buffer = NO_BUFFER) ⇒ StackNode
constructor
A new instance of StackNode.
Constructor Details
#initialize(object, config = nil, buffer = NO_BUFFER) ⇒ StackNode
Returns a new instance of StackNode.
8 9 10 11 12 |
# File 'lib/sax-machine/handlers/sax_abstract_handler.rb', line 8 def initialize(object, config = nil, buffer = NO_BUFFER) self.object = object self.config = config self.buffer = buffer end |
Instance Attribute Details
#buffer ⇒ Object
Returns the value of attribute buffer
7 8 9 |
# File 'lib/sax-machine/handlers/sax_abstract_handler.rb', line 7 def buffer @buffer end |
#config ⇒ Object
Returns the value of attribute config
7 8 9 |
# File 'lib/sax-machine/handlers/sax_abstract_handler.rb', line 7 def config @config end |
#object ⇒ Object
Returns the value of attribute object
7 8 9 |
# File 'lib/sax-machine/handlers/sax_abstract_handler.rb', line 7 def object @object end |