Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • xsd/ns.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

XSD::NS::Assigner

Public Class Methods

new() click to toggle source
 
               # File xsd/ns.rb, line 17
def initialize
  @count = 0
end
            

Public Instance Methods

assign(ns) click to toggle source
 
               # File xsd/ns.rb, line 21
def assign(ns)
  @count += 1
  "n#{@count}"
end