Class: Mappum::TreeElement
- Includes:
- Comparable
- Defined in:
- lib/mappum/java_transform.rb,
lib/mappum/xml_transform.rb
Instance Attribute Summary collapse
-
#clazz ⇒ Object
Returns the value of attribute clazz.
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#is_array ⇒ Object
Returns the value of attribute is_array.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#clazz ⇒ Object
Returns the value of attribute clazz
218 219 220 |
# File 'lib/mappum/xml_transform.rb', line 218 def clazz @clazz end |
#elements ⇒ Object
Returns the value of attribute elements
218 219 220 |
# File 'lib/mappum/xml_transform.rb', line 218 def elements @elements end |
#is_array ⇒ Object
Returns the value of attribute is_array
218 219 220 |
# File 'lib/mappum/xml_transform.rb', line 218 def is_array @is_array end |
#name ⇒ Object
Returns the value of attribute name
218 219 220 |
# File 'lib/mappum/xml_transform.rb', line 218 def name @name end |
Instance Method Details
#<=>(anOther) ⇒ Object
220 221 222 223 |
# File 'lib/mappum/xml_transform.rb', line 220 def <=>(anOther) return name <=> null if anOther.nil? name <=> anOther.name end |