README.md in callchain-0.0.1 vs README.md in callchain-0.0.2

- old
+ new

@@ -70,9 +70,31 @@ end CompositeCallChain.call(Object.new) ``` +## CallChain::bind + +```ruby + class WrapToI + extend CallChain + use CallChain[:to_i] + end + + WrapToI.call('1') + # => 1 +``` + +```ruby + class WrapToI + extend CallChain + use CallChain.bind(:+, 1) + end + + WrapToI.call(1) + # => 2 +``` + ## Contributing 1. Fork it ( http://github.com/<my-github-username>/callchain/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`)