Commit f35add8

mo khan <mo@mokhan.ca>
2013-12-11 04:26:11
move shutdown command to a separate file.
1 parent ddf46a0
Changed files (2)
lib
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