method

match

ruby latest stable - Class: XSD::QName

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.

match(rhs)
public

No documentation available.

# File lib/xsd/qname.rb, line 33
  def match(rhs)
    if rhs.namespace and (rhs.namespace != @namespace)
      return false
    end
    if rhs.name and (rhs.name != @name)
      return false
    end
    true
  end