mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/fileutils.rb (fu_have_st_ino): check if required method is
defined, instead of platform name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
17fa2ce73a
commit
a3dde7df52
2 changed files with 6 additions and 1 deletions
|
@ -1437,7 +1437,7 @@ module FileUtils
|
|||
private_module_function :fu_same?
|
||||
|
||||
def fu_have_st_ino? #:nodoc:
|
||||
not fu_windows?
|
||||
File::Stat.method_defined?(:ino)
|
||||
end
|
||||
private_module_function :fu_have_st_ino?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue