From 341c8a9937d5669f0fc6b9c3d2dbddbdf7ebb2d9 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Mon, 31 Jan 2011 17:22:52 -0500 Subject: [PATCH] specs passing --- flowplayer.rb | 3 --- lib/player.rb | 18 ------------------ lib/rails/helper.rb | 19 ------------------- 3 files changed, 40 deletions(-) delete mode 100644 flowplayer.rb delete mode 100644 lib/player.rb delete mode 100644 lib/rails/helper.rb diff --git a/flowplayer.rb b/flowplayer.rb deleted file mode 100644 index 8a9ac83..0000000 --- a/flowplayer.rb +++ /dev/null @@ -1,3 +0,0 @@ -module Flowplayer - -end \ No newline at end of file diff --git a/lib/player.rb b/lib/player.rb deleted file mode 100644 index 25a51bb..0000000 --- a/lib/player.rb +++ /dev/null @@ -1,18 +0,0 @@ -module Flowplayer - class PLayer - attr_accessor :options - def initialize(dom_id, &block) - @options = [] - block.call - end - - def method_missing(method, *args, &block) - if block.nil? - options[method] = args.first - else - options[method] = block.call - end - end - - end -end \ No newline at end of file diff --git a/lib/rails/helper.rb b/lib/rails/helper.rb deleted file mode 100644 index 56a7217..0000000 --- a/lib/rails/helper.rb +++ /dev/null @@ -1,19 +0,0 @@ -module Flowplayer - module Helpers - - # flowplayer_for :hubble do |f| - # f.option 'foo' - # f.onLoad do - # 'this.unmute();' - # end - - - - - - def flowplayer_for(id, &block) - FlowPlayer::Player.new(id, &block) - end - - end -end \ No newline at end of file