Object
# File lib/xsd/ns.rb, line 26 def initialize(known_tag) @known_tag = known_tag.dup @count = 0 end
# File lib/xsd/ns.rb, line 31 def assign(ns) if @known_tag.key?(ns) return @known_tag[ns] end @count += 1 "n#{@count}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.