Class: Mysh::NoInitOption
- Inherits:
-
CommandOption
- Object
- Action
- CommandOption
- Mysh::NoInitOption
- Defined in:
- lib/mysh/internal/actions/command_line/init.rb
Overview
-
mysh/internal/actions/command_line/init.rb – The mysh no init command.
Constant Summary
Constants inherited from Action
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#pre_boot(_args) ⇒ Object
Skip over the argument for pre_boot.
Methods inherited from CommandOption
Methods inherited from Action
#action_info, #initialize, #process_quick_command, #short_name
Constructor Details
This class inherits a constructor from Mysh::Action
Instance Method Details
#pre_boot(_args) ⇒ Object
Skip over the argument for pre_boot.
39 40 41 42 |
# File 'lib/mysh/internal/actions/command_line/init.rb', line 39 def pre_boot(_args) fail "The mysh is already initialized." if $mysh_init_file $mysh_init_file = "<none>" end |