Class: F4R::Encoder::RegistryBuilder
- Inherits:
-
Object
- Object
- F4R::Encoder::RegistryBuilder
- Defined in:
- lib/f4r.rb
Overview
F4R::Encoder requires a properly built Registry to be able to encode.
Instance Attribute Summary collapse
- #registry ⇒ Registry readonly
Instance Method Summary collapse
-
#initialize(records, source) ⇒ RegistryBuilder
constructor
A new instance of RegistryBuilder.
Constructor Details
#initialize(records, source) ⇒ RegistryBuilder
Returns a new instance of RegistryBuilder.
1431 1432 1433 1434 1435 |
# File 'lib/f4r.rb', line 1431 def initialize(records, source) @records = records @source = source source ? clone_definitions : build_definitions end |
Instance Attribute Details
#registry ⇒ Registry (readonly)
1429 1430 1431 |
# File 'lib/f4r.rb', line 1429 def registry @registry end |