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

In Files

  • soap/rpc/element.rb

Class/Module Index [+]

Quicksearch

SOAP::RPC::SOAPMethodResponse

Public Class Methods

new(qname, param_def = nil) click to toggle source
 
               # File soap/rpc/element.rb, line 277
def initialize(qname, param_def = nil)
  super(qname, param_def)
  @retval = nil
end
            

Public Instance Methods

each() click to toggle source
 
               # File soap/rpc/element.rb, line 289
def each
  if @retval_name and !@retval.is_a?(SOAPVoid)
    yield(@retval_name, @retval)
  end

  output_params.each do |name|
    unless @outparam[name]
      raise ParameterError.new("parameter: #{name} was not given")
    end
    yield(name, @outparam[name])
  end
end
            
retval=(retval) click to toggle source
 
               # File soap/rpc/element.rb, line 282
def retval=(retval)
  @retval = retval
  @retval.elename = @retval.elename.dup_name(@retval_name || 'return')
  retval.parent = self
  retval
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus