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