Trevor Wennblom
55791d4c10
Coerce flags to an array in remove_make_var!
...
This is needed for Ruby 1.9.x compatibility, but we still don't support
running Homebrew with anything other than a system provided 1.8.[67].
Fixes Homebrew/homebrew#6546
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27 17:38:26 -07:00
Adam Vandenberg
e6bac8a8ea
back-port start_with? from 1.8.7
...
This allows its use in Leopard, which has Ruby 1.8.6.
2011-06-19 21:32:37 -07:00
Adam Vandenberg
b13baedfd8
Move string extensions
2011-03-12 11:55:03 -08:00
Jamie Macey
1e41264f42
fix warnings: ambiguous first arg
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 14:47:44 -07:00
Michael Morgan
3ea550100f
extract undent test to test case
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-17 21:13:16 -07:00
Max Howell
799dd7108e
String.undent for prettier HEREDOCs
2010-03-07 17:57:05 +00:00