lib/bootstrap-email/converters/base.rb in bootstrap-email-1.1.7 vs lib/bootstrap-email/converters/base.rb in bootstrap-email-1.2.0
- old
+ new
@@ -8,11 +8,11 @@
def initialize(doc)
@doc = doc
@cached_templates = {}
end
- def self.build(doc)
- new(doc).build
+ def self.build(doc, *args)
+ new(doc).build(*args)
end
private
def template(file, locals_hash = {})