class Acbaker::Processors::Base
Attributes
asset_pack[RW]
options[RW]
Public Class Methods
new(asset_pack, options = {})
click to toggle source
# File lib/acbaker/processors/base.rb, line 10 def initialize(asset_pack, options = {}) @asset_pack = asset_pack @options = options ? defaults.merge(options) : defaults end
Public Instance Methods
defaults()
click to toggle source
# File lib/acbaker/processors/base.rb, line 6 def defaults {} end
run(image, image_spec, width = nil, height = nil)
click to toggle source
# File lib/acbaker/processors/base.rb, line 15 def run(image, image_spec, width = nil, height = nil) throw "Acbaker::Processors::Base should be extended" end