Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/core_ext.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.realpath(path) ⇒ Object
13 14 15 16 |
# File 'lib/core_ext.rb', line 13 def self.realpath path return realpath(File.readlink(path)) if symlink?(path) path end |