Class: Yarrow::Output::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/yarrow/output/mapper.rb

Instance Method Summary collapse

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

#modelObject



17
18
19
# File 'lib/yarrow/output/mapper.rb', line 17

def model

end

#object_mapObject



9
10
11
# File 'lib/yarrow/output/mapper.rb', line 9

def object_map
  @config.output.object_map
end

#template_mapObject



13
14
15
# File 'lib/yarrow/output/mapper.rb', line 13

def template_map
  @config.output.template_map
end