class Bagel::Video::ClipBuilders::ClipBuilder
Attributes
clip[R]
Public Class Methods
new(data)
click to toggle source
# File lib/bagel/video/clip_builders/clip_builder.rb, line 5 def initialize(data) @clip = Video::Clip.new(Timeframe.new(data[:start], data[:finish])) post_initialize(data) end
Public Instance Methods
add_clip_fade()
click to toggle source
# File lib/bagel/video/clip_builders/clip_builder.rb, line 14 def add_clip_fade raise_not_implemented_error(self.class, __method__) end
add_overlays()
click to toggle source
# File lib/bagel/video/clip_builders/clip_builder.rb, line 18 def add_overlays raise_not_implemented_error(self.class, __method__) end
set_id()
click to toggle source
# File lib/bagel/video/clip_builders/clip_builder.rb, line 10 def set_id raise_not_implemented_error(self.class, __method__) end
Private Instance Methods
post_initialize(data)
click to toggle source
# File lib/bagel/video/clip_builders/clip_builder.rb, line 24 def post_initialize(data) raise_not_implemented_error(self.class, __method__) end
raise_not_implemented_error(klass, method)
click to toggle source
# File lib/bagel/video/clip_builders/clip_builder.rb, line 28 def raise_not_implemented_error(klass, method) raise NotImplementedError, "#{klass} has not implemented method '#{method}'" end