Class: SampleFile::Video
Instance Method Summary collapse
- #file_path ⇒ Object
-
#initialize(type = 'h264', opts = {}) ⇒ Video
constructor
A new instance of Video.
Methods inherited from Base
Constructor Details
#initialize(type = 'h264', opts = {}) ⇒ Video
Returns a new instance of Video.
3 4 5 |
# File 'lib/sample_file/video.rb', line 3 def initialize(type='h264', opts={}) # TODO Implement provide samples of multiple video codecs end |
Instance Method Details
#file_path ⇒ Object
7 8 9 |
# File 'lib/sample_file/video.rb', line 7 def file_path File.join(video_dir_path, 'h264.mp4') end |