class MovieMasher::ChainEffects

a chain of effects

Public Instance Methods

initialize_filters() click to toggle source
# File lib/graphs/chains.rb, line 5
def initialize_filters
  if __is_and_not_empty(@input[:effects]) && @input[:effects].is_a?(Array)
    @input[:effects].each do |effect|
      effect[:dimensions] = @input[:dimensions] unless effect[:dimensions]
      @filters << ChainModule.new(effect, @job_input, @input)
    end
  end
end