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

In Files

  • wsdl/part.rb

Class/Module Index [+]

Quicksearch

WSDL::Part

Attributes

element[R]
name[R]
type[R]

Public Class Methods

new() click to toggle source
 
               # File wsdl/part.rb, line 20
def initialize
  super
  @name = nil
  @element = nil
  @type = nil
end
            

Public Instance Methods

parse_attr(attr, value) click to toggle source
 
               # File wsdl/part.rb, line 37
def parse_attr(attr, value)
  case attr
  when NameAttrName
    @name = value.source
  when ElementAttrName
    @element = value
  when TypeAttrName
    @type = value
  else
    nil
  end
end
            
parse_element(element) click to toggle source
 
               # File wsdl/part.rb, line 27
def parse_element(element)
  case element
  when DocumentationName
    o = Documentation.new
    o
  else
    nil
  end
end