Class: PdfTemplator::AccountingType

Inherits:
NumericType show all
Defined in:
lib/pdf_templator/types.rb

Instance Attribute Summary

Attributes inherited from Type

#args, #content

Instance Method Summary collapse

Methods inherited from NumericType

#initialize

Methods inherited from Type

#initialize

Constructor Details

This class inherits a constructor from PdfTemplator::NumericType

Instance Method Details

#callObject



37
38
39
# File 'lib/pdf_templator/types.rb', line 37

def call
  Money.new(content, args[:currency]).format
end