Skip to content

Commit

Permalink
explain new entry behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
kr committed Nov 11, 2011
1 parent 9188ca9 commit aaa24a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Readme.md
Expand Up @@ -22,4 +22,13 @@ Write a username and password:
n["api.heroku.com"] = user, newpass
n.save

If you make an entry that wasn't there before, it will be appended
to the end of the file. Sometimes people want to include a comment
explaining that the entry was added automatically. You can do it
like this:

n.new_item_prefix = "# This entry was added automatically\n"
n["api.heroku.com"] = user, newpass
n.save

Have fun!

0 comments on commit aaa24a3

Please sign in to comment.