[holy ruby programmers batman!] String Pipe

Giles Bowkett gilesb at gmail.com
Thu Jan 31 15:40:49 EST 2008


Cool. :-)

On 1/30/08, Avdi Grimm <avdi at avdi.org> wrote:
> I went ahead and added my UNIX-style pipe operator for String
> extension.  From the file's documentation:
>
> # This extension adds a UNIX-style pipe to strings
> #
> # Synopsis:
> #
> # >> puts "UtilityBelt is better than alfalfa" | "cowsay"
> #  ____________________________________
> # < UtilityBelt is better than alfalfa >
> #  ------------------------------------
> #         \   ^__^
> #          \  (oo)\_______
> #             (__)\       )\/\
> #                 ||----w |
> #                 ||     ||
> # => nil
> #
>
>
> --
> Avdi
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>


-- 
Giles Bowkett

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com


More information about the Utilitybelt-tinkering mailing list