Class: Mysh::NoDebugOption

Inherits:
CommandOption show all
Defined in:
lib/mysh/internal/actions/command_line/debug.rb

Overview

  • mysh/internal/actions/command_line/debug.rb – The mysh help command no debug.

Constant Summary

Constants inherited from Action

Action::ACTIONS_PATH

Instance Attribute Summary

Attributes inherited from Action

#description, #name

Instance Method Summary collapse

Methods inherited from CommandOption

#get_arg, #pre_boot

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



29
30
31
# File 'lib/mysh/internal/actions/command_line/debug.rb', line 29

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