Class: Bagel::Video::ClipBuilders::IntroClipBuilder
- Inherits:
-
ClipBuilder
- Object
- ClipBuilder
- Bagel::Video::ClipBuilders::IntroClipBuilder
- Defined in:
- lib/bagel/video/clip_builders/intro_clip_builder.rb
Constant Summary collapse
- ID =
'00-intro'
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Attributes inherited from ClipBuilder
Instance Method Summary collapse
Methods inherited from ClipBuilder
Constructor Details
This class inherits a constructor from Bagel::Video::ClipBuilders::ClipBuilder
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
3 4 5 |
# File 'lib/bagel/video/clip_builders/intro_clip_builder.rb', line 3 def description @description end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/bagel/video/clip_builders/intro_clip_builder.rb', line 3 def title @title end |
Instance Method Details
#add_clip_fade ⇒ Object
11 12 13 |
# File 'lib/bagel/video/clip_builders/intro_clip_builder.rb', line 11 def add_clip_fade clip.fade = Video::Fade.new(in_start: 0, in_duration: 1.5, out_start: 6.5, out_duration: 1.5) end |
#add_overlays ⇒ Object
15 16 17 |
# File 'lib/bagel/video/clip_builders/intro_clip_builder.rb', line 15 def end |
#set_id ⇒ Object
7 8 9 |
# File 'lib/bagel/video/clip_builders/intro_clip_builder.rb', line 7 def set_id clip.id = ID end |