Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • soap/baseData.rb

Class/Module Index [+]

Quicksearch

SOAP::SOAPType

for SOAP type(base and compound)

Attributes

definedtype[RW]
elename[RW]
encodingstyle[RW]
extraattr[R]
id[RW]
parent[RW]
position[RW]
precedents[R]
root[RW]

Public Class Methods

new(*arg) click to toggle source
 
               # File soap/baseData.rb, line 46
def initialize(*arg)
  super
  @encodingstyle = nil
  @elename = XSD::QName::EMPTY
  @id = nil
  @precedents = []
  @root = false
  @parent = nil
  @position = nil
  @definedtype = nil
  @extraattr = {}
end
            

Public Instance Methods

inspect() click to toggle source
 
               # File soap/baseData.rb, line 59
def inspect
  if self.is_a?(XSD::NSDBase)
    sprintf("#<%s:0x%x %s %s>", self.class.name, __id__, self.elename, self.type)
  else
    sprintf("#<%s:0x%x %s>", self.class.name, __id__, self.elename)
  end
end
            
rootnode() click to toggle source
 
               # File soap/baseData.rb, line 67
def rootnode
  node = self
  while node = node.parent
    break if SOAPEnvelope === node
  end
  node
end