Class: Mysh::NoHistoryOption
- Inherits:
-
CommandOption
- Object
- Action
- CommandOption
- Mysh::NoHistoryOption
- Defined in:
- lib/mysh/command_line/history.rb
Overview
The mysh command line options for no history.
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#post_boot(_args) ⇒ Object
Execute the no history 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 history command line option. Endemic Code Smells :reek:UtilityFunction
24 25 26 |
# File 'lib/mysh/command_line/history.rb', line 24 def post_boot(_args) MNV[:history] = "off" end |