Module: Lockness::PathBuilder
- Defined in:
- lib/lockness/path_builder.rb
Class Method Summary collapse
Class Method Details
.path ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/lockness/path_builder.rb', line 4 def self.path path_arg = ARGV.last if path_arg.starts_with?('/') path_arg else File.join(Dir.pwd, path_arg) end end |