Class: WsdlMapper::Dom::Element
- Inherits:
-
Object
- Object
- WsdlMapper::Dom::Element
- Defined in:
- lib/wsdl_mapper/dom/element.rb
Instance Attribute Summary collapse
-
#documentation ⇒ Object
Returns the value of attribute documentation.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_name ⇒ Object
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize(name) ⇒ Element
Returns a new instance of Element.
9 10 11 12 |
# File 'lib/wsdl_mapper/dom/element.rb', line 9 def initialize(name) @name = name @documentation = Documentation.new end |
Instance Attribute Details
#documentation ⇒ Object
Returns the value of attribute documentation.
7 8 9 |
# File 'lib/wsdl_mapper/dom/element.rb', line 7 def documentation @documentation end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/wsdl_mapper/dom/element.rb', line 6 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
7 8 9 |
# File 'lib/wsdl_mapper/dom/element.rb', line 7 def type @type end |
#type_name ⇒ Object
Returns the value of attribute type_name.
7 8 9 |
# File 'lib/wsdl_mapper/dom/element.rb', line 7 def type_name @type_name end |