Class: Cnab::Detalhe::SegmentoU
- Inherits:
-
Object
- Object
- Cnab::Detalhe::SegmentoU
- Includes:
- Helper
- Defined in:
- lib/cnab/detalhe/segmento_u.rb
Instance Method Summary collapse
-
#initialize(line, definition) ⇒ SegmentoU
constructor
A new instance of SegmentoU.
Methods included from Helper
#inspect, #method_missing, #respond_to_missing?
Constructor Details
#initialize(line, definition) ⇒ SegmentoU
Returns a new instance of SegmentoU.
6 7 8 9 10 11 |
# File 'lib/cnab/detalhe/segmento_u.rb', line 6 def initialize(line, definition) raise Exceptions::LineNotParseable unless line.size == 242 @line = line @definition = definition end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cnab::Helper