Class: Juvet::Configuration::Mapping
- Inherits:
-
Object
- Object
- Juvet::Configuration::Mapping
- Defined in:
- lib/juvet/configuration/mapping.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(&block) ⇒ Mapping
constructor
A new instance of Mapping.
Constructor Details
#initialize(&block) ⇒ Mapping
6 7 8 |
# File 'lib/juvet/configuration/mapping.rb', line 6 def initialize(&block) @block = block end |
Instance Method Details
#build ⇒ Object
10 11 12 |
# File 'lib/juvet/configuration/mapping.rb', line 10 def build Juvet::Mapper.new &@block end |