class Rucc::StaticLabelGen
Public Class Methods
new()
click to toggle source
# File lib/rucc/static_label_gen.rb, line 3 def initialize @id = 0 # [Integer] end
Public Instance Methods
next(name)
click to toggle source
@param [String] @return [String]
# File lib/rucc/static_label_gen.rb, line 9 def next(name) static_label = ".S#{@id}.#{name}" @id += 1 static_label end