lib/getch/states.rb in getch-0.0.3 vs lib/getch/states.rb in getch-0.0.4
- old
+ new
@@ -35,9 +35,14 @@
def update
STATES[:gentoo_update] = true
save
end
+ def kernel
+ STATES[:gentoo_kernel] = true
+ save
+ end
+
private
def save
File.open(@file, 'w') { |f| YAML::dump(STATES, f) }
end