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