Class: Getch::Config::Keymap
- Inherits:
-
Object
- Object
- Getch::Config::Keymap
- Includes:
- NiTo
- Defined in:
- lib/getch/config/keymap.rb
Overview
Search and configure the keymap (man loadkeys)
Instance Method Summary collapse
-
#initialize ⇒ Keymap
constructor
A new instance of Keymap.
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 ⇒ Keymap
Returns a new instance of Keymap.
11 12 13 14 15 16 17 18 19 |
# File 'lib/getch/config/keymap.rb', line 11 def initialize @log = Log.new @rc_conf = "#{OPTIONS[:mountpoint]}/etc/rc.conf" @vconsole_conf = "#{OPTIONS[:mountpoint]}/etc/vconsole.conf" @conf_d = "#{OPTIONS[:mountpoint]}/etc/conf.d/keymaps" @keymaps_dir = nil @keymap = nil x end |