Class: Nacha::Formatter::Base
- Inherits:
-
Object
- Object
- Nacha::Formatter::Base
- Defined in:
- lib/nacha/formatter/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#records ⇒ Object
readonly
Returns the value of attribute records.
Instance Method Summary collapse
- #format ⇒ Object
-
#initialize(records, options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(records, options = {}) ⇒ Base
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/nacha/formatter/base.rb', line 10 def initialize(records, = {}) @records = records = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/nacha/formatter/base.rb', line 8 def end |
#records ⇒ Object (readonly)
Returns the value of attribute records.
8 9 10 |
# File 'lib/nacha/formatter/base.rb', line 8 def records @records end |
Instance Method Details
#format ⇒ Object
15 16 17 |
# File 'lib/nacha/formatter/base.rb', line 15 def format raise NotImplementedError, 'Subclasses must implement a format method' end |