Class: Y2Network::Widgets::KernelOptions
- Inherits:
-
CWM::InputField
- Object
- CWM::InputField
- Y2Network::Widgets::KernelOptions
- Defined in:
- src/lib/y2network/widgets/kernel_options.rb
Instance Method Summary collapse
- #help ⇒ Object
- #init ⇒ Object
-
#initialize(options) ⇒ KernelOptions
constructor
Constructor.
- #label ⇒ Object
- #opt ⇒ Object
Constructor Details
#initialize(options) ⇒ KernelOptions
Constructor
31 32 33 34 35 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 31 def initialize() super() textdomain "network" @options = end |
Instance Method Details
#help ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 41 def help _( "<p>Additionally, specify <b>Options</b> for the kernel module. Use this\n" \ "format: <i>option</i>=<i>value</i>. Each entry should be space-separated, " \ "for example: <i>io=0x300 irq=5</i>. <b>Note:</b> If two cards are \n" \ "configured with the same module name, the options will be merged while saving.</p>\n" ) end |
#init ⇒ Object
54 55 56 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 54 def init self.value = @options end |
#label ⇒ Object
37 38 39 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 37 def label Yast::Label.Options end |
#opt ⇒ Object
50 51 52 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 50 def opt [:hstretch] end |