Class: Erika::SlideShow
- Inherits:
-
Object
- Object
- Erika::SlideShow
- Defined in:
- lib/erika/slideshow.rb
Instance Attribute Summary collapse
-
#images ⇒ Object
Returns the value of attribute images.
Instance Method Summary collapse
-
#initialize ⇒ SlideShow
constructor
A new instance of SlideShow.
- #start ⇒ Object
Constructor Details
#initialize ⇒ SlideShow
Returns a new instance of SlideShow.
5 6 7 8 9 10 11 |
# File 'lib/erika/slideshow.rb', line 5 def initialize prepare_tmp_dir @images = [] # Gen subtitles _images_ end |
Instance Attribute Details
#images ⇒ Object
Returns the value of attribute images.
3 4 5 |
# File 'lib/erika/slideshow.rb', line 3 def images @images end |
Instance Method Details
#start ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/erika/slideshow.rb', line 13 def start Video.merge(images) _gen_subtitle_file_ Video.new(full_path: Erika::Default.temp.filename).mix() end |