diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-19 09:35:31 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-19 09:35:31 +0000 |
commit | a0d5258df027dd309f4208cdff89084eb24b904f (patch) | |
tree | 20e0fcdb809095e6a76d19eb4b88227fd3922bd5 /ext/pathname/lib | |
parent | 79dfc605ff239213cc67d9e5429669764f52a0c7 (diff) |
* ext/pathname/pathname.c (get_strpath): check the type.
(path_initialize): bypass to_path call for T_STRING.
(path_freeze): implemented.
* ext/pathname/lib/pathname.rb (Pathname#freeze): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 54be13868f..56e3a4525f 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -208,7 +208,6 @@ class Pathname # :startdoc: - def freeze() super; @path.freeze; self end def taint() super; @path.taint; self end def untaint() super; @path.untaint; self end |