index()
Returns the current index (position) counting from zero.
# File lib/generator.rb, line 116 def index() @index end