On Mon, Jan 2, 2012 at 11:12 AM, Tom Reilly <w3gat / nwlagardener.org> wrote:
>
> Love the idea. =A0Where do I find "tap"
> [...]
> 101 =A0 =A0String.new.tap { |str|
> [...]

Ah... Object#tap is a Ruby 1.9 feature that doesn't exist in 1.8.
(Actually, it probably exists in 1.8.7, but not 1.8.6 or earlier.)  So
I guess Col doesn't work in 1.8 :(

It's easily defined:
  class Object
    def tap
      yield self
      self
    end
  end

Thanks for the report.  I'll do some proper 1.8 testing and try to
make it work, removing any 1.9-specific code.  Look for a 1.0.2
release sometime soon.

Gavin