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 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 31 def initialize() textdomain "network" @options = end |
Instance Method Details
#help ⇒ Object
40 41 42 43 44 45 46 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 40 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
52 53 54 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 52 def init self.value = @options end |
#label ⇒ Object
36 37 38 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 36 def label Yast::Label.Options end |
#opt ⇒ Object
48 49 50 |
# File 'src/lib/y2network/widgets/kernel_options.rb', line 48 def opt [:hstretch] end |