Class: Nexml::Document::Trees

Inherits:
Nexml::DummyBase show all
Defined in:
lib/nexml/nexml_parser.rb

Instance Attribute Summary collapse

Attributes inherited from Nexml::DummyBase

#attributes, #text

Instance Method Summary collapse

Methods inherited from Nexml::DummyBase

#attribute

Constructor Details

#initialize(opts) ⇒ Trees

Returns a new instance of Trees



248
249
250
251
# File 'lib/nexml/nexml_parser.rb', line 248

def initialize(opts)
  @trees = [] 
  super
end

Instance Attribute Details

#treesObject

Returns the value of attribute trees



247
248
249
# File 'lib/nexml/nexml_parser.rb', line 247

def trees
  @trees
end