Module: Callsite::FileMethods

Defined in:
lib/callsite.rb

Instance Method Summary collapse

Instance Method Details

#relative(path) ⇒ Object



77
78
79
# File 'lib/callsite.rb', line 77

def relative(path)
  File.expand_path(File.join(Kernel.__DIR_REL__(caller.first), path))
end