Pathname fix for ruby 1.9 [hack?]

This commit is contained in:
Zachery Hostens 2009-09-30 22:17:46 -05:00
parent 668e3ee080
commit 101e9c8cbe

View File

@ -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