Class: Yarrow::Output::Mapper
- Inherits:
-
Object
- Object
- Yarrow::Output::Mapper
- Defined in:
- lib/yarrow/output/mapper.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ Mapper
constructor
A new instance of Mapper.
- #model ⇒ Object
- #object_map ⇒ Object
- #template_map ⇒ Object
Constructor Details
#initialize(config) ⇒ Mapper
Returns a new instance of Mapper.
5 6 7 |
# File 'lib/yarrow/output/mapper.rb', line 5 def initialize(config) @config = config end |
Instance Method Details
#model ⇒ Object
17 18 19 |
# File 'lib/yarrow/output/mapper.rb', line 17 def model end |
#object_map ⇒ Object
9 10 11 |
# File 'lib/yarrow/output/mapper.rb', line 9 def object_map @config.output.object_map end |
#template_map ⇒ Object
13 14 15 |
# File 'lib/yarrow/output/mapper.rb', line 13 def template_map @config.output.template_map end |