class Saxerator::Builder::HashElement

Attributes

attributes[RW]
name[RW]

Public Class Methods

new(name = nil, attributes = nil) click to toggle source
Calls superclass method
# File lib/saxerator/builder/hash_element.rb, line 10
def initialize(name = nil, attributes = nil)
  @name = name
  @attributes = attributes
  super({})
end

Public Instance Methods

to_a() click to toggle source
Calls superclass method
# File lib/saxerator/builder/hash_element.rb, line 16
def to_a
  ArrayElement.new(super, name)
end
to_h() click to toggle source
# File lib/saxerator/builder/hash_element.rb, line 20
def to_h; self end