Class: Bagel::Video::ClipBuilders::ClipBuilder
- Inherits:
-
Object
- Object
- Bagel::Video::ClipBuilders::ClipBuilder
show all
- Defined in:
- lib/bagel/video/clip_builders/clip_builder.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of ClipBuilder.
5
6
7
8
|
# 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
|
Instance Attribute Details
#clip ⇒ Object
Returns the value of attribute clip.
3
4
5
|
# File 'lib/bagel/video/clip_builders/clip_builder.rb', line 3
def clip
@clip
end
|
Instance Method Details
#add_clip_fade ⇒ Object
14
15
16
|
# 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 ⇒ Object
18
19
20
|
# File 'lib/bagel/video/clip_builders/clip_builder.rb', line 18
def add_overlays
raise_not_implemented_error(self.class, __method__)
end
|
#set_id ⇒ Object
10
11
12
|
# File 'lib/bagel/video/clip_builders/clip_builder.rb', line 10
def set_id
raise_not_implemented_error(self.class, __method__)
end
|