Flowdock
method

compare

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::NS
compare(ns, name, rhs) public

No documentation

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

Hide source
# File lib/xsd/ns.rb, line 81
  def compare(ns, name, rhs)
    if (ns == @default_namespace)
      return true if (name == rhs)
    end
    @tag2ns.each do |assigned_tag, assigned_ns|
      if assigned_ns == ns && "#{assigned_tag}:#{name}" == rhs
        return true
      end
    end
    false
  end
Register or log in to add new notes.