Class: Mysh::NoPrepromptOption
- Inherits:
-
CommandOption
- Object
- Action
- CommandOption
- Mysh::NoPrepromptOption
- Defined in:
- lib/mysh/internal/actions/command_line/pre_prompt.rb
Overview
-
mysh/internal/actions/command_line/pre_prompt.rb – The mysh command no pre_prompt.
Constant Summary
Constants inherited from Action
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#post_boot(_args) ⇒ Object
Execute the no pre_prompt command line option.
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
#post_boot(_args) ⇒ Object
Execute the no pre_prompt command line option.
Endemic Code Smells
-
:reek:UtilityFunction
34 35 36 |
# File 'lib/mysh/internal/actions/command_line/pre_prompt.rb', line 34 def post_boot(_args) MNV[:pre_prompt] = "" end |