module EasyImaging::ModuleMethods
Public Instance Methods
process_image(style, method_called, attr_image, *args)
click to toggle source
# File lib/easy_imaging.rb, line 63 def process_image(style, method_called, attr_image, *args) path = attr_image.path(style) source = MiniMagick::Image.open(path) source = source.send(method_called, *args) source.write(path) end