Skip to content
This repository
Browse code

better titles

  • Loading branch information...
commit a25e6eff12d6fd0bd572b32a90066f4dd09fae2a 1 parent f820cdd
authored November 12, 2008

Showing 1 changed file with 4 additions and 5 deletions. Show diff stats Hide diff stats

  1. 9  2008-11-12/the_obdurate_kestrel.md
9  2008-11-12/the_obdurate_kestrel.md
Source Rendered
... ...
@@ -1,9 +1,7 @@
1  
-The Enchaining and Obdurate Kestrels
  1
+The Enchaining Kestrel
2 2
 ---
3 3
 
4  
-In [Kestrels](http://github.com/raganwald/homoiconic/tree/master/2008-10-29/kestrel.markdown), we looked at `#tap` from Ruby 1.9 and `returning` from Ruby on Rails. Today we're going to look at another use for `tap` and an unusual kestrel that is useful specifically because it doesn't actually do anything.
5  
-
6  
-**the enchaining kestrel**
  4
+In [Kestrels](http://github.com/raganwald/homoiconic/tree/master/2008-10-29/kestrel.markdown), we looked at `#tap` from Ruby 1.9 and `returning` from Ruby on Rails. Today we're going to look at another use for `tap`.
7 5
 
8 6
 [![Kestrel Composite (c) 2007 Mark Kilner](http://farm3.static.flickr.com/2165/1902016010_6f007bf3f0.jpg)](http://flickr.com/photos/markkilner/1902016010/"Kestrel Composite (c) 2007 Mark Kilner")
9 7
 
@@ -79,7 +77,8 @@ So there's another use for `#tap` (along with `Symbol#to_proc` for simple cases)
79 77
 
80 78
 > In Ruby 1.9, `#tap` works exactly as described above. Ruby 1.8 does not have `#tap`, but you can obtain it by installing the andand gem. This version of `#tap` also works like a [quirky bird](http://github.com/raganwald/homoiconic/tree/master/2008-11-04/quirky_birds_and_meta_syntactic_programming.markdown ""), so you can write things like `HardDrive.new.tap.capacity(150)` for enchaining methods that take parameters and/or blocks. To get andand, `sudo gem install andand`. Rails users can also drop [andand.rb](http:andand.rb) in `config/initializers`.
81 79
 
82  
-**the obdurate kestrel**
  80
+The Obdurate Kestrel
  81
+---
83 82
 
84 83
 [![Kestrel (c) 2007 The Hounds of Shadow](http://farm3.static.flickr.com/2402/2115973156_f4fcfca811.jpg)](http://flickr.com/photos/thehoundsofshadow/2115973156/"Kestrel (c) 2007 The Hounds of Shadow")
85 84
 

0 notes on commit a25e6ef

Please sign in to comment.
Something went wrong with that request. Please try again.