method

[]

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::Mapping::Object
[](qname) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/mapping/registry.rb, line 84
  def [](qname)
    unless qname.is_a?(XSD::QName)
      qname = XSD::QName.new(nil, qname)
    end
    @__xmlele.each do |k, v|
      return v if k == qname
    end
    # fallback
    @__xmlele.each do |k, v|
      return v if k.name == qname.name
    end
    nil
  end
Register or log in to add new notes.