Sha256: 46c0d05ad8ca2f7eceb18960e21ab32eb2359367181bdac776a5bdc4e8d95457

Contents?: true

Size: 328 Bytes

Versions: 16

Compression:

Stored size: 328 Bytes

Contents

require 'rabbit/element'

module Rabbit
  module Parser
    module Ext
      module Video
        def make_video(canvas, path, prop)
          begin
            Element::Video.new(path, prop)
          rescue Error
            canvas.logger.warn($!.message)
            nil
          end
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rabbit-2.2.1 lib/rabbit/parser/ext/video.rb
rabbit-2.2.0 lib/rabbit/parser/ext/video.rb
rabbit-2.1.9 lib/rabbit/parser/ext/video.rb
rabbit-2.1.8 lib/rabbit/parser/ext/video.rb
rabbit-2.1.7 lib/rabbit/parser/ext/video.rb
rabbit-2.1.6 lib/rabbit/parser/ext/video.rb
rabbit-2.1.5 lib/rabbit/parser/ext/video.rb
rabbit-2.1.4 lib/rabbit/parser/ext/video.rb
rabbit-2.1.3 lib/rabbit/parser/ext/video.rb
rabbit-2.1.2 lib/rabbit/parser/ext/video.rb
rabbit-2.1.1 lib/rabbit/parser/ext/video.rb
rabbit-2.1.0 lib/rabbit/parser/ext/video.rb
rabbit-2.0.9 lib/rabbit/parser/ext/video.rb
rabbit-2.0.8 lib/rabbit/parser/ext/video.rb
rabbit-2.0.7 lib/rabbit/parser/ext/video.rb
rabbit-2.0.6 lib/rabbit/parser/ext/video.rb