Class: BAI2::Structures::FileTrailer
- Inherits:
-
Object
- Object
- BAI2::Structures::FileTrailer
- Defined in:
- lib/bai2_ruby/structures/file_trailer.rb
Instance Attribute Summary collapse
-
#file_control_total ⇒ Object
readonly
Returns the value of attribute file_control_total.
-
#number_of_groups ⇒ Object
readonly
Returns the value of attribute number_of_groups.
-
#number_of_records ⇒ Object
readonly
Returns the value of attribute number_of_records.
Instance Method Summary collapse
-
#initialize(file_control_total:, number_of_groups:, number_of_records:) ⇒ FileTrailer
constructor
A new instance of FileTrailer.
Constructor Details
#initialize(file_control_total:, number_of_groups:, number_of_records:) ⇒ FileTrailer
Returns a new instance of FileTrailer.
8 9 10 11 12 |
# File 'lib/bai2_ruby/structures/file_trailer.rb', line 8 def initialize(file_control_total:, number_of_groups:, number_of_records:) @file_control_total = file_control_total @number_of_groups = number_of_groups @number_of_records = number_of_records end |
Instance Attribute Details
#file_control_total ⇒ Object (readonly)
Returns the value of attribute file_control_total.
6 7 8 |
# File 'lib/bai2_ruby/structures/file_trailer.rb', line 6 def file_control_total @file_control_total end |
#number_of_groups ⇒ Object (readonly)
Returns the value of attribute number_of_groups.
6 7 8 |
# File 'lib/bai2_ruby/structures/file_trailer.rb', line 6 def number_of_groups @number_of_groups end |
#number_of_records ⇒ Object (readonly)
Returns the value of attribute number_of_records.
6 7 8 |
# File 'lib/bai2_ruby/structures/file_trailer.rb', line 6 def number_of_records @number_of_records end |