Class: Mysh::NoPauseOption

Inherits:
CommandOption show all
Defined in:
lib/mysh/command_line/pause.rb

Overview

The no page pause option.

Instance Attribute Summary

Attributes inherited from Action

#description, #name

Instance Method Summary collapse

Methods inherited from CommandOption

#get_arg

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



31
32
33
# File 'lib/mysh/command_line/pause.rb', line 31

def post_boot(_args)
  MNV[:page_pause] = "off"
end

#pre_boot(_args) ⇒ Object



35
36
37
# File 'lib/mysh/command_line/pause.rb', line 35

def pre_boot(_args)
  MNV[:page_pause] = "off"
end