lib/bulldog/processor/ffmpeg.rb in bulldog-0.0.13 vs lib/bulldog/processor/ffmpeg.rb in bulldog-0.0.14
- old
+ new
@@ -90,11 +90,11 @@
styles.each{|s| hash[s] = []}
hash
end
def operate(*args)
- @arguments.concat args.map(&:to_s)
+ @arguments.concat args.map{|s| s.to_s}
end
def set_default_operation
encode if @operation.nil?
end
@@ -167,10 +167,10 @@
stream = record.send(attribute).stream
stream && stream.path
end
def run_still_frame_callbacks
- @still_frame_callbacks.each(&:call)
+ @still_frame_callbacks.each{|c| c.call}
end
end
end
end