Class: Installation::Dialogs::NtpSetup
- Inherits:
-
CWM::Dialog
- Object
- CWM::Dialog
- Installation::Dialogs::NtpSetup
- Defined in:
- src/lib/installation/dialogs/ntp_setup.rb
Overview
Simple dialog for settings the NTP server names
Instance Method Summary collapse
- #contents ⇒ Object
-
#initialize ⇒ NtpSetup
constructor
A new instance of NtpSetup.
-
#title ⇒ String
The dialog title.
Constructor Details
Instance Method Details
#contents ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 |
# File 'src/lib/installation/dialogs/ntp_setup.rb', line 47 def contents return @content if @content @content = HSquash( MinWidth( 50, # preselect the servers from the DHCP response Widgets::NtpServer.new(ntp_servers) ) ) end |
#title ⇒ String
The dialog title
42 43 44 45 |
# File 'src/lib/installation/dialogs/ntp_setup.rb', line 42 def title # TRANSLATORS: dialog title _("NTP Setup") end |