Class: Codabel::Record::OldBalance

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

Instance Attribute Summary

Attributes inherited from Codabel::Record

#data

Instance Method Summary collapse

Methods inherited from Codabel::Record

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

Constructor Details

This class inherits a constructor from Codabel::Record

Instance Method Details

#balanceObject



15
16
17
# File 'lib/codabel/record/old_balance.rb', line 15

def balance
  data[:balance] || 0
end