Class: WsdlMapper::Dom::Documentation

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/dom/documentation.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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?

Returns:

  • (Boolean)


11
12
13
# File 'lib/wsdl_mapper/dom/documentation.rb', line 11

def present?
  !@default.nil?
end