Commit f35add8
Changed files (2)
lib
presentation
commands
lib/presentation/commands/shutdown_command.rb
@@ -0,0 +1,5 @@
+class ShutdownCommand
+ def halt(*message)
+ Gtk.main_quit
+ end
+end
lib/application.rb
@@ -5,12 +5,6 @@ Dir["lib/**/*.rb"].each do |file|
require File.basename(file)
end
-class ShutdownCommand
- def halt(*message)
- Gtk.main_quit
- end
-end
-
class Application
def run(arguments)
Gtk.init