specs passing

This commit is contained in:
Scott Davis 2011-01-31 17:22:52 -05:00
parent 7c1f0e6cf6
commit 341c8a9937
3 changed files with 0 additions and 40 deletions

View File

@ -1,3 +0,0 @@
module Flowplayer
end

View File

@ -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

View File

@ -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