Class: Installation::Console::Plugins::ConsoleButton
- Inherits:
-
CWM::PushButton
- Object
- CWM::PushButton
- Installation::Console::Plugins::ConsoleButton
- Defined in:
- src/lib/installation/console/plugins/console_button.rb
Overview
define a button for starting the command line console
Instance Method Summary collapse
- #handle ⇒ Object
- #help ⇒ Object
-
#initialize ⇒ ConsoleButton
constructor
A new instance of ConsoleButton.
- #label ⇒ Object
Constructor Details
#initialize ⇒ ConsoleButton
Returns a new instance of ConsoleButton.
24 25 26 27 |
# File 'src/lib/installation/console/plugins/console_button.rb', line 24 def initialize super textdomain "installation" end |
Instance Method Details
#handle ⇒ Object
33 34 35 36 37 |
# File 'src/lib/installation/console/plugins/console_button.rb', line 33 def handle require "installation/console" ::Installation::Console.run nil end |
#help ⇒ Object
39 40 41 42 43 |
# File 'src/lib/installation/console/plugins/console_button.rb', line 39 def help _("<p>The <b>Expert Console</b> button starts a command line interface " \ "to the installer. It is intended for special purposes, wrong usage " \ "might result in crash or unexpected behavior.</p>") end |
#label ⇒ Object
29 30 31 |
# File 'src/lib/installation/console/plugins/console_button.rb', line 29 def label _("Expert Console...") end |