Pathname fix for ruby 1.9 [hack?]
This commit is contained in:
parent
668e3ee080
commit
101e9c8cbe
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user