[holy ruby programmers batman!] String Pipe
Avdi Grimm
avdi at avdi.org
Wed Jan 30 17:46:31 EST 2008
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
More information about the Utilitybelt-tinkering
mailing list