Class: WSDL::Info

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInfo



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

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

Instance Attribute Details

#idObject

Returns the value of attribute id



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

def id
  @id
end

#parentObject

Returns the value of attribute parent



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

def parent
  @parent
end

#rootObject

Returns the value of attribute root



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

def root
  @root
end

Instance Method Details

#inspectObject



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

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



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

def parse_attr(attr, value); end

#parse_element(element) ⇒ Object

abstract



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

def parse_element(element); end

#parse_epilogueObject

abstract



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

def parse_epilogue; end