Class: Mediakit::FFmpeg::Options::InputFileOption
- Inherits:
-
OptionPathPair
- Object
- OptionPathPair
- Mediakit::FFmpeg::Options::InputFileOption
- Defined in:
- lib/mediakit/ffmpeg/options.rb
Instance Attribute Summary
Attributes inherited from OptionPathPair
Instance Method Summary collapse
- #compose ⇒ Object
-
#initialize(options:, path:) ⇒ InputFileOption
constructor
A new instance of InputFileOption.
Methods inherited from OptionPathPair
Constructor Details
#initialize(options:, path:) ⇒ InputFileOption
Returns a new instance of InputFileOption.
130 131 132 133 |
# File 'lib/mediakit/ffmpeg/options.rb', line 130 def initialize(options:, path:) ordered_hash = OrderedHash.new() super(options: ordered_hash, path: path) end |
Instance Method Details
#compose ⇒ Object
135 136 137 |
# File 'lib/mediakit/ffmpeg/options.rb', line 135 def compose "#{} -i #{path}" end |