#Introducing the Increment gem
If you need to keep a counter in a file then this gem is for you.
The statement above creates a new file called 'counter.txt' in the current directory and stores the value '1'. If the file 'counter.txt' already exists the current value is incremented and then written back to the file.
In the above example the file 'test' is used to update and store the incremented value.