Class: Doodler::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/doodler/runner.rb

Class Method Summary collapse

Class Method Details

.draw!(image, strategy) ⇒ Object



3
4
5
6
# File 'lib/doodler/runner.rb', line 3

def self.draw!(image, strategy)
  strategy = :bubblize unless strategy
  Doodler::Strategy.new(image).send(strategy)
end