Class: Installation::CIOIgnoreProposal
- Inherits:
-
Object
- Object
- Installation::CIOIgnoreProposal
- Includes:
- Yast::I18n, Yast::Logger
- Defined in:
- src/lib/installation/cio_ignore.rb
Constant Summary collapse
- CIO_ENABLE_LINK =
"cio_enable".freeze
- CIO_DISABLE_LINK =
"cio_disable".freeze
- AUTOCONF_ENABLE_LINK =
"autoconf_enable".freeze
- AUTOCONF_DISABLE_LINK =
"autoconf_disable".freeze
- ACTION_ID =
"cio".freeze
Instance Method Summary collapse
-
#initialize ⇒ CIOIgnoreProposal
constructor
A new instance of CIOIgnoreProposal.
- #run(*args) ⇒ Object
Constructor Details
#initialize ⇒ CIOIgnoreProposal
Returns a new instance of CIOIgnoreProposal.
73 74 75 |
# File 'src/lib/installation/cio_ignore.rb', line 73 def initialize textdomain "installation" end |
Instance Method Details
#run(*args) ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'src/lib/installation/cio_ignore.rb', line 77 def run(*args) func = args.first param = args[1] || {} log.debug "cio ignore proposal client called with #{func} and #{param}" case func when "MakeProposal" proposal_entry when "Description" { # this is a heading "rich_text_title" => _("Device Settings"), # this is a menu entry "menu_title" => _("Device Settings"), "id" => ACTION_ID } when "AskUser" edit param["chosen_id"] else raise "Unknown action passed as first parameter" end end |