examples/intro.rb in whirled_peas-0.7.1 vs examples/intro.rb in whirled_peas-0.8.0
- old
+ new
@@ -38,15 +38,15 @@
end
end
end
end
-class Driver
+class Application
def start(producer)
- producer.send_frame('intro', duration: 5)
+ producer.add_frame('intro', duration: 5)
end
end
WhirledPeas.configure do |config|
config.template_factory = TemplateFactory.new
- config.driver = Driver.new
+ config.application = Application.new
end