Skip to content

Commit

Permalink
Add installation notes to README
Browse files Browse the repository at this point in the history
I have installed gem figleaf first time and that was confusing
  • Loading branch information
AlexParamonov committed Nov 3, 2012
1 parent daf54e0 commit f7f97fa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ Private inheritance for Ruby classes.
FigLeaf enables us to selectively make public methods inherited from other classes and modules private. The objects can still call these methods internally, but external classes are prevented from doing so.


Using FigLeaf:
##Installation
``` sh
gem install fig_leaf
```
or add to Gemfile
``` ruby
gem 'fig_leaf'
```

##Usage
``` ruby
class Post < ActiveRecord::Base
include FigLeaf
Expand Down

0 comments on commit f7f97fa

Please sign in to comment.