mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* ext/pathname/pathname.c (path_hash): Pathname#hash translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
47fd9eb6e1
commit
be2f3c58e6
3 changed files with 14 additions and 5 deletions
|
@ -31,10 +31,6 @@ class Pathname
|
|||
|
||||
# :startdoc:
|
||||
|
||||
def hash # :nodoc:
|
||||
@path.hash
|
||||
end
|
||||
|
||||
# Return the path as a String.
|
||||
def to_s
|
||||
@path.dup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue