class Saxerator::Builder::StringElement
Attributes
attributes[RW]
name[RW]
Public Class Methods
new(str, name = nil, attributes = nil)
click to toggle source
Calls superclass method
# File lib/saxerator/builder/string_element.rb, line 10 def initialize(str, name = nil, attributes = nil) @name = name @attributes = attributes super(str) end
Public Instance Methods
to_a()
click to toggle source
# File lib/saxerator/builder/string_element.rb, line 16 def to_a ArrayElement.new(self, name) end