Permalink
Browse files

Add limelight interface to the binary

  • Loading branch information...
1 parent 7df7b18 commit cc8a24117d7df65db84ae4ab5c49c5dcd3f2cffa @JoshCheek committed Aug 4, 2011
Showing with 19 additions and 0 deletions.
  1. +1 −0 lib/ttt/interface.rb
  2. +18 −0 lib/ttt/interface/limelight.rb
View
1 lib/ttt/interface.rb
@@ -19,3 +19,4 @@ def self.register(name, interface)
end
require 'ttt/interface/cli'
+require 'ttt/interface/limelight'
View
18 lib/ttt/interface/limelight.rb
@@ -0,0 +1,18 @@
+require 'ttt/interface/cli/players'
+require 'ttt/interface/cli/views'
+
+module TTT
+ module Interface
+ class Limelight
+ Interface.register 'limelight', self
+
+ def initialize(*args)
+ end
+
+ def play
+ system "limelight", "open", "#{File.dirname(__FILE__)}/limelight"
+ end
+
+ end
+ end
+end

0 comments on commit cc8a241

Please sign in to comment.