module BPL::Derivatives
Constants
- VERSION
Public Class Methods
configure() { |config| ... }
click to toggle source
# File lib/bpl/derivatives.rb, line 51 def self.configure yield(config) if block_given? end
reset_config!()
click to toggle source
# File lib/bpl/derivatives.rb, line 55 def self.reset_config! @@config = Config.new end
Public Instance Methods
config()
click to toggle source
# File lib/bpl/derivatives.rb, line 60 def config @@config ||= Config.new end
derivatize(opts = {})
click to toggle source
# File lib/bpl/derivatives.rb, line 69 def derivatize(opts = {}) runner = opts[:runner] ? opts.delete(:runner) : :image "BPL::Derivatives::#{runner.to_s.classify}Derivatives".constantize.create(self, opts) end