Class: Saxerator::Builder::ArrayElement

Inherits:
Array
  • Object
show all
Defined in:
lib/saxerator/builder/array_element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/saxerator/builder/array_element.rb', line 4

def name
  @name
end

Instance Method Details

#to_aObject



7
# File 'lib/saxerator/builder/array_element.rb', line 7

def to_a; self end

#to_aryObject



6
# File 'lib/saxerator/builder/array_element.rb', line 6

def to_ary; self end