diff options
| author | Zachery Hostens | 2009-09-30 22:17:46 -0500 |
|---|---|---|
| committer | Zachery Hostens | 2009-09-30 22:26:52 -0500 |
| commit | 101e9c8cbed91bc3df6b2322db34f7bdeaae535d (patch) | |
| tree | dcaa8dfd7984c33d6b86f554dfaef8d7a824a4be /Library | |
| parent | 668e3ee0806548cc36ba37688059a32c49d76f15 (diff) | |
| download | brew-101e9c8cbed91bc3df6b2322db34f7bdeaae535d.tar.bz2 | |
Pathname fix for ruby 1.9 [hack?]
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/pathname+yeast.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index 79dfcb549..1dbb99d8c 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -153,6 +153,10 @@ class Pathname nil end + + if '1.9' <= RUBY_VERSION + alias_method :to_str, :to_s + end end # sets $n and $d so you can observe creation of stuff |
