Sha256: 7fc4f88c940cc4441cee23077fe94e8ee57c20e475bcce2103f71bbfe4d0d68b
Contents?: true
Size: 522 Bytes
Versions: 4
Compression:
Stored size: 522 Bytes
Contents
require "receipts/version" require "open-uri" require "prawn" require "prawn/table" module Receipts autoload :Base, "receipts/base" autoload :Invoice, "receipts/invoice" autoload :Receipt, "receipts/receipt" autoload :Statement, "receipts/statement" @@default_font = nil # Customize the default font hash # default_font = { # bold: "path/to/font", # normal: "path/to/font", # } def self.default_font=(path) @@default_font = path end def self.default_font @@default_font end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
receipts-2.4.0 | lib/receipts.rb |
receipts-2.3.0 | lib/receipts.rb |
receipts-2.2.0 | lib/receipts.rb |
receipts-2.1.0 | lib/receipts.rb |