Class: Mysh::NoPostpromptOption

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

Overview

The mysh command no post prompt.

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 no post prompt command line option. Endemic Code Smells :reek:UtilityFunction



32
33
34
# File 'lib/mysh/command_line/post_prompt.rb', line 32

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