Class: Codabel::Record::Movement

Inherits:
Codabel::Record show all
Defined in:
lib/codabel/record/movement.rb

Instance Attribute Summary

Attributes inherited from Codabel::Record

#data

Instance Method Summary collapse

Methods inherited from Codabel::Record

add_column, #auto_enrich, column, columns, for, header, #initialize, movement, movement21, movement22, movement23, new_balance, old_balance, required?, trailer, #validate!

Constructor Details

This class inherits a constructor from Codabel::Record

Instance Method Details

#actual_records(_file) ⇒ Object



8
9
10
# File 'lib/codabel/record/movement.rb', line 8

def actual_records(_file)
  actual_movements
end

#to_codaObject



4
5
6
# File 'lib/codabel/record/movement.rb', line 4

def to_coda
  actual_movements.map(&:to_coda).join("\n")
end