Class: Lhj::Command::Filepath
- Inherits:
-
Lhj::Command
- Object
- CLAide::Command
- Lhj::Command
- Lhj::Command::Filepath
- Defined in:
- lib/lhj/command/file_path.rb
Overview
show file path
Instance Method Summary collapse
- #handle ⇒ Object
-
#initialize(argv) ⇒ Filepath
constructor
A new instance of Filepath.
Methods inherited from Lhj::Command
#auto_spin, #begin_title, #run, #stop
Constructor Details
#initialize(argv) ⇒ Filepath
Returns a new instance of Filepath.
9 10 11 12 |
# File 'lib/lhj/command/file_path.rb', line 9 def initialize(argv) @current_path = argv.shift_argument || Dir.pwd super end |