Module: SwfConverter

Defined in:
lib/swf_converter.rb,
lib/swf_converter/engine.rb,
lib/swf_converter/engine/alphize.rb,
lib/swf_converter/engine/alphize/runner.rb,
lib/swf_converter/engine/alphize/blender.rb

Defined Under Namespace

Modules: ClassMethods Classes: Engine, InvalidOptions

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



19
20
21
22
# File 'lib/swf_converter.rb', line 19

def self.included(base)
  base.extend(ClassMethods)
  base.converts_swfs :with => Engine::Alphize
end

Instance Method Details

#convert_swf!Object



15
16
17
# File 'lib/swf_converter.rb', line 15

def convert_swf!
  self.class.swf_conversion_engine.convert!(self)
end