method

parse_attr

ruby latest stable - Class: WSDL::Part

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

parse_attr(attr, value)
public

No documentation available.

# File lib/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