lib/receipts/base.rb in receipts-2.0.0 vs lib/receipts/base.rb in receipts-2.1.0

- old
+ new

@@ -6,10 +6,10 @@ attr_reader :title end def initialize(attributes = {}) super(page_size: "LETTER") - setup_fonts attributes[:font] + setup_fonts attributes.fetch(:font, Receipts.default_font) @title = attributes.fetch(:title, self.class.title) generate_from(attributes) end