Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/everbox_client/runner.rb

Class Method Summary collapse

Class Method Details

.expand_path_unix(*args) ⇒ Object

expan_path in unix style



30
31
32
33
34
35
36
# File 'lib/everbox_client/runner.rb', line 30

def self.expand_path_unix(*args)
  res = self.expand_path(*args)
  if res[0] != '/'
    res = res[res.index("/"), res.size]
  end
  res
end