Flowdock
method

assign

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::NS
assign(ns, tag = nil) 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 43
  def assign(ns, tag = nil)
    if (tag == '')
      @default_namespace = ns
      tag
    else
      @assigner ||= Assigner.new
      tag ||= @assigner.assign(ns)
      @ns2tag[ns] = tag
      @tag2ns[tag] = ns
      tag
    end
  end
Register or log in to add new notes.