Class: Mediakit::FFmpeg::Options::GlobalOption
- Inherits:
-
OrderedHash
- Object
- ActiveSupport::OrderedHash
- OrderedHash
- Mediakit::FFmpeg::Options::GlobalOption
- Defined in:
- lib/mediakit/ffmpeg/options.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GlobalOption
constructor
A new instance of GlobalOption.
Methods inherited from OrderedHash
Constructor Details
#initialize(options = {}) ⇒ GlobalOption
Returns a new instance of GlobalOption.
102 103 104 105 106 107 |
# File 'lib/mediakit/ffmpeg/options.rb', line 102 def initialize( = {}) if .values.any? { |x| x.kind_of?(Hash) } raise(ArgumentError, 'you can\'t give nested Hash in GlobalOption') end super end |