Class: SwfConverter::Engine

Inherits:
Object
  • Object
show all
Defined in:
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

Direct Known Subclasses

Alphize

Defined Under Namespace

Classes: Alphize

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEngine

Returns a new instance of Engine.



10
11
12
# File 'lib/swf_converter/engine.rb', line 10

def initialize
  @options = {}
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



8
9
10
# File 'lib/swf_converter/engine.rb', line 8

def options
  @options
end

#parentObject

Returns the value of attribute parent.



7
8
9
# File 'lib/swf_converter/engine.rb', line 7

def parent
  @parent
end

Instance Method Details

#convert!(swf_parent) ⇒ Object

Raises:

  • (NotImplementedError)


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

def convert!(swf_parent)
  raise NotImplementedError, "SwfConverter::Engine#convert! has no defined behavior. Subclass it and define your own."
end