Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/proctor/util.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.realpath(path) ⇒ Object



6
7
8
9
# File 'lib/proctor/util.rb', line 6

def self.realpath path
  return realpath(File.readlink(path)) if symlink?(path)
  path
end