Class: EnMasse::Dragonfly::FFMPEG::Encoder::Profile

Inherits:
Object
  • Object
show all
Defined in:
lib/dragonfly-ffmpeg/encoder/profile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, encoding_options) ⇒ Profile

Returns a new instance of Profile.



29
30
31
32
# File 'lib/dragonfly-ffmpeg/encoder/profile.rb', line 29

def initialize(name, encoding_options)
  @name = name
  @encoding_options = encoding_options
end

Instance Attribute Details

#encoding_optionsObject

Returns the value of attribute encoding_options.



26
27
28
# File 'lib/dragonfly-ffmpeg/encoder/profile.rb', line 26

def encoding_options
  @encoding_options
end

#nameObject (readonly)

Returns the value of attribute name.



25
26
27
# File 'lib/dragonfly-ffmpeg/encoder/profile.rb', line 25

def name
  @name
end

#output_extensionObject

Returns the value of attribute output_extension.



27
28
29
# File 'lib/dragonfly-ffmpeg/encoder/profile.rb', line 27

def output_extension
  @output_extension
end