Module: EhbrsRubyUtils::Videos2::Profiles::Base

Extended by:
ActiveSupport::Concern
Defined in:
lib/ehbrs_ruby_utils/videos2/profiles/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#convert_jobObject

Returns the value of attribute convert_job.



9
10
11
# File 'lib/ehbrs_ruby_utils/videos2/profiles/base.rb', line 9

def convert_job
  @convert_job
end

Instance Method Details

#ffmpeg_argsObject



16
17
18
# File 'lib/ehbrs_ruby_utils/videos2/profiles/base.rb', line 16

def ffmpeg_args
  []
end

#on_convert_jobObject



20
21
22
23
24
25
26
27
# File 'lib/ehbrs_ruby_utils/videos2/profiles/base.rb', line 20

def on_convert_job
  old_value = convert_job
  begin
    yield
  ensure
    self.convert_job = old_value
  end
end