Class: WsdlMapper::Dom::Documentation
- Inherits:
-
Object
- Object
- WsdlMapper::Dom::Documentation
- Defined in:
- lib/wsdl_mapper/dom/documentation.rb
Instance Attribute Summary collapse
-
#app_info ⇒ Object
Returns the value of attribute app_info.
-
#default ⇒ Object
readonly
Returns the value of attribute default.
Instance Method Summary collapse
-
#initialize(text = nil) ⇒ Documentation
constructor
A new instance of Documentation.
- #present? ⇒ Boolean
Constructor Details
#initialize(text = nil) ⇒ Documentation
Returns a new instance of Documentation.
7 8 9 |
# File 'lib/wsdl_mapper/dom/documentation.rb', line 7 def initialize(text = nil) @default = text end |
Instance Attribute Details
#app_info ⇒ Object
Returns the value of attribute app_info.
5 6 7 |
# File 'lib/wsdl_mapper/dom/documentation.rb', line 5 def app_info @app_info end |
#default ⇒ Object (readonly)
Returns the value of attribute default.
4 5 6 |
# File 'lib/wsdl_mapper/dom/documentation.rb', line 4 def default @default end |
Instance Method Details
#present? ⇒ Boolean
11 12 13 |
# File 'lib/wsdl_mapper/dom/documentation.rb', line 11 def present? !@default.nil? end |