Class: Bagel::Video::ClipDirector
- Inherits:
-
Object
- Object
- Bagel::Video::ClipDirector
- Defined in:
- lib/bagel/video/clip_director.rb
Instance Attribute Summary collapse
-
#builder ⇒ Object
readonly
Returns the value of attribute builder.
Instance Method Summary collapse
- #build_clip ⇒ Object
-
#initialize(builder) ⇒ ClipDirector
constructor
A new instance of ClipDirector.
Constructor Details
#initialize(builder) ⇒ ClipDirector
Returns a new instance of ClipDirector.
5 6 7 |
# File 'lib/bagel/video/clip_director.rb', line 5 def initialize(builder) @builder = builder end |
Instance Attribute Details
#builder ⇒ Object (readonly)
Returns the value of attribute builder.
3 4 5 |
# File 'lib/bagel/video/clip_director.rb', line 3 def builder @builder end |
Instance Method Details
#build_clip ⇒ Object
9 10 11 12 13 14 |
# File 'lib/bagel/video/clip_director.rb', line 9 def build_clip builder.set_id builder.add_clip_fade builder. builder.clip end |