diff options
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 |
