Class: Cheque

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/cheque.rb,
lib/cheque/copy.rb,
lib/cheque/version.rb

Defined Under Namespace

Classes: Copy

Constant Summary collapse

VERSION =
'0.1.1'

Instance Method Summary collapse

Constructor Details

#initialize(data, document) ⇒ Cheque

Returns a new instance of Cheque.



11
12
13
14
# File 'lib/cheque.rb', line 11

def initialize(data, document)
  @data = data
  @document = document
end

Instance Method Details

#renderObject



16
17
18
# File 'lib/cheque.rb', line 16

def render
  formater.data
end