Module: Receipts
- Defined in:
- lib/receipts.rb,
lib/receipts/base.rb,
lib/receipts/invoice.rb,
lib/receipts/receipt.rb,
lib/receipts/version.rb,
lib/receipts/statement.rb
Defined Under Namespace
Classes: Base, Invoice, Receipt, Statement
Constant Summary collapse
- VERSION =
"2.4.0"
- @@default_font =
nil
Class Method Summary collapse
- .default_font ⇒ Object
-
.default_font=(path) ⇒ Object
Customize the default font hash default_font = { bold: “path/to/font”, normal: “path/to/font”, }.
Class Method Details
.default_font ⇒ Object
23 24 25 |
# File 'lib/receipts.rb', line 23 def self.default_font @@default_font end |
.default_font=(path) ⇒ Object
Customize the default font hash default_font =
bold: "path/to/font",
normal: "path/to/font",
19 20 21 |
# File 'lib/receipts.rb', line 19 def self.default_font=(path) @@default_font = path end |