Class: Mysh::PauseOption
- Inherits:
-
CommandOption
- Object
- Action
- CommandOption
- Mysh::PauseOption
- Defined in:
- lib/mysh/internal/actions/command_line/pause.rb
Overview
The page pause option.
Constant Summary
Constants inherited from Action
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#post_boot(_args) ⇒ Object
Execute the help command line option.
- #pre_boot(_args) ⇒ Object
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 help command line option.
Endemic Code Smells
-
:reek:UtilityFunction
11 12 13 |
# File 'lib/mysh/internal/actions/command_line/pause.rb', line 11 def post_boot(_args) MNV[:page_pause] = "on" end |
#pre_boot(_args) ⇒ Object
15 16 17 |
# File 'lib/mysh/internal/actions/command_line/pause.rb', line 15 def pre_boot(_args) MNV[:page_pause] = "on" end |