lib/onebox/engine.rb in onebox-1.7.3 vs lib/onebox/engine.rb in onebox-1.7.4

- old
+ new

@@ -40,11 +40,11 @@ end @cache = cache || Onebox.options.cache @timeout = timeout || Onebox.options.timeout end - # raises error if not defined in onebox engine. This is the output method for - # an engine. + # raises error if not defined in onebox engine. + # This is the output method for an engine. def to_html fail NoMethodError, "Engines need to implement this method" end # Some oneboxes create iframes or other complicated controls. If you're using