class Variable
Public Class Methods
new()
click to toggle source
# File lib/mighty_json/variable.rb, line 4 def initialize @count = 0 end
Public Instance Methods
cur()
click to toggle source
# File lib/mighty_json/variable.rb, line 13 def cur "var#{@count}" end
next()
click to toggle source
# File lib/mighty_json/variable.rb, line 8 def next @count += 1 cur end