Class: Cnab::Definitions::HeaderArquivo
- Inherits:
-
Object
- Object
- Cnab::Definitions::HeaderArquivo
- Includes:
- Helper
- Defined in:
- lib/cnab/definitions/header_arquivo.rb
Instance Method Summary collapse
-
#initialize(version) ⇒ HeaderArquivo
constructor
A new instance of HeaderArquivo.
Methods included from Helper
#method_missing, #respond_to_missing?
Constructor Details
#initialize(version) ⇒ HeaderArquivo
Returns a new instance of HeaderArquivo.
6 7 8 |
# File 'lib/cnab/definitions/header_arquivo.rb', line 6 def initialize(version) @definition = YAML.load_file("#{Cnab.lib_path}/cnab/versions/#{version}/header_arquivo.yml") end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cnab::Definitions::Helper