Method: Shell::Initializer#get_command_file
- Defined in:
- lib/crane/shell_initializer.rb
#get_command_file(command = false) ⇒ Object
38 39 40 41 |
# File 'lib/crane/shell_initializer.rb', line 38 def get_command_file command = false command = @command unless command File.("../commands/" + command + ".rb", __FILE__) end |