method

to_elename

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: SOAP::SOAPElement
to_elename(obj, namespace = nil) public

No documentation

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

Hide source
# File lib/soap/baseData.rb, line 640
  def self.to_elename(obj, namespace = nil)
    if obj.is_a?(XSD::QName)
      obj
    elsif /\A(.+):([^:]+)\z/ =~ obj.to_s
      XSD::QName.new($1, $2)
    else
      XSD::QName.new(namespace, obj.to_s)
    end
  end
Register or log in to add new notes.