Class: Samsa::Mapper
- Inherits:
-
Object
- Object
- Samsa::Mapper
- Defined in:
- lib/samsa/mapper.rb
Defined Under Namespace
Classes: InvalidTransformType, Transform
Instance Method Summary collapse
-
#initialize(template, input) ⇒ Mapper
constructor
A new instance of Mapper.
- #normalize ⇒ Object
Constructor Details
#initialize(template, input) ⇒ Mapper
Returns a new instance of Mapper.
5 6 7 8 |
# File 'lib/samsa/mapper.rb', line 5 def initialize(template, input) @template = template @input = input end |