Class: Bai2::BaiFile::Group
- Inherits:
-
Object
- Object
- Bai2::BaiFile::Group
- Extended by:
- AttrReaderFromIvarHash
- Defined in:
- lib/bai2.rb,
lib/bai2/integrity.rb
Instance Attribute Summary collapse
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
Instance Method Summary collapse
- #as_of_datetime ⇒ Object
-
#initialize ⇒ Group
constructor
A new instance of Group.
Methods included from AttrReaderFromIvarHash
Constructor Details
#initialize ⇒ Group
Returns a new instance of Group.
101 102 103 |
# File 'lib/bai2.rb', line 101 def initialize @accounts = [] end |
Instance Attribute Details
#accounts ⇒ Object (readonly)
Returns the value of attribute accounts.
105 106 107 |
# File 'lib/bai2.rb', line 105 def accounts @accounts end |
Instance Method Details
#as_of_datetime ⇒ Object
110 111 112 |
# File 'lib/bai2.rb', line 110 def as_of_datetime @header[:as_of_date] + @header[:as_of_time] end |