Class: Nexml::Document::Characters

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) ⇒ Characters

Returns a new instance of Characters



234
235
236
237
# File 'lib/nexml/nexml_parser.rb', line 234

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

Instance Attribute Details

#charsObject

Returns the value of attribute chars



233
234
235
# File 'lib/nexml/nexml_parser.rb', line 233

def chars
  @chars
end