Skip to content

Commit

Permalink
README.md: fix require path for anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Aug 26, 2011
1 parent 74fc3b7 commit 277b631
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ Rib.config[:autoindent_spaces] | How to indent? Default is two spaces: ' '
Rib could be used as a kind of debugging tool which you can set break point
in the source program.

require 'rib/config' # This would load your ~/.config/rib/config.rb
require 'rib/anchor' # If you enabled this in config, then needed not.
require 'rib/config' # This would load your Rib config
require 'rib/more/anchor'
# If you enabled anchor in config, then needed not
Rib.anchor binding # This would give you an interactive shell
# when your program has been executed here.
Rib.anchor 123 # You can also anchor on an object.
Expand Down

0 comments on commit 277b631

Please sign in to comment.