Class: PdfTemplator::NumericType

Inherits:
Type
  • Object
show all
Defined in:
lib/pdf_templator/types.rb

Direct Known Subclasses

AccountingType, MoneyType, NumberType

Instance Attribute Summary

Attributes inherited from Type

#args, #content

Instance Method Summary collapse

Methods inherited from Type

#call

Constructor Details

#initialize(content, args = {}) ⇒ NumericType

Returns a new instance of NumericType.



15
16
17
18
# File 'lib/pdf_templator/types.rb', line 15

def initialize(content, args = {})
  super
  @content = cents
end