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