class MovieMasher::FilterSource

raw input source

Public Class Methods

new(id, hash, dimensions = nil) click to toggle source
Calls superclass method MovieMasher::FilterHash.new
# File lib/graphs/filters.rb, line 241
def initialize(id, hash, dimensions = nil)
  super id, hash
  @dimensions = dimensions
end

Public Instance Methods

filter_command(scope) click to toggle source
Calls superclass method MovieMasher::FilterHash#filter_command
# File lib/graphs/filters.rb, line 245
def filter_command(scope)
  cmd = super
  unless cmd.empty?
    Filter.__outsize['w'], Filter.__outsize['h'] = @dimensions.split('x')
  end
  cmd
end