Method: Path#expand

Defined in:
lib/epath/file.rb

#expand(*args) ⇒ Object Also known as: expand_path

Expands path, making it absolute. If the path is relative, it is expanded with the current working directory, unless dir is given as an argument. See File.expand_path.



112
113
114
# File 'lib/epath/file.rb', line 112

def expand(*args)
  Path.new(File.expand_path(@path, *args))
end