Class: SampleFile::Video

Inherits:
Base
  • Object
show all
Defined in:
lib/sample_file/video.rb

Instance Method Summary collapse

Methods inherited from Base

#file

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_pathObject



7
8
9
# File 'lib/sample_file/video.rb', line 7

def file_path
  File.join(video_dir_path, 'h264.mp4')
end