This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
pos()
Returns the current index (position) counting from zero.
# File lib/generator.rb, line 121 def pos() @index end