Class: Getch::Config::TimeZone
- Inherits:
-
Object
- Object
- Getch::Config::TimeZone
- Includes:
- NiTo
- Defined in:
- lib/getch/config/timezone.rb
Instance Method Summary collapse
-
#initialize ⇒ TimeZone
constructor
A new instance of TimeZone.
Methods included from NiTo
cp, echo, echo_a, grep?, mkdir, mount, mount?, mv, rm, search_proc_swaps, sed, sh, swapoff, swapoff_dm, touch, umount
Constructor Details
#initialize ⇒ TimeZone
Returns a new instance of TimeZone.
10 11 12 13 14 15 16 17 |
# File 'lib/getch/config/timezone.rb', line 10 def initialize @log = Log.new @etc_timezone = "#{OPTIONS[:mountpoint]}/etc/timezone" @rc_conf = "#{OPTIONS[:mountpoint]}/etc/rc.conf" @openrc = "#{OPTIONS[:mountpoint]}/etc/conf.d/keymaps" @timezone = OPTIONS[:timezone] x end |