Class: WSDL::Info

Inherits:
Object show all
Defined in:
lib/wsdl/info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInfo

Returns a new instance of Info.



18
19
20
21
22
# File 'lib/wsdl/info.rb', line 18

def initialize
  @root = nil
  @parent = nil
  @id = nil
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



16
17
18
# File 'lib/wsdl/info.rb', line 16

def id
  @id
end

#parentObject

Returns the value of attribute parent.



15
16
17
# File 'lib/wsdl/info.rb', line 15

def parent
  @parent
end

#rootObject

Returns the value of attribute root.



14
15
16
# File 'lib/wsdl/info.rb', line 14

def root
  @root
end

Instance Method Details

#inspectObject



24
25
26
27
28
29
30
# File 'lib/wsdl/info.rb', line 24

def inspect
  if self.respond_to?(:name)
    sprintf("#<%s:0x%x %s>", self.class.name, __id__, self.name)
  else
    sprintf("#<%s:0x%x>", self.class.name, __id__)
  end
end

#parse_attr(attr, value) ⇒ Object

abstract



34
# File 'lib/wsdl/info.rb', line 34

def parse_attr(attr, value); end

#parse_element(element) ⇒ Object

abstract



32
# File 'lib/wsdl/info.rb', line 32

def parse_element(element); end

#parse_epilogueObject

abstract



36
# File 'lib/wsdl/info.rb', line 36

def parse_epilogue; end