Class: Umwelt::Abstract::Mapper
- Inherits:
-
Interactor
- Object
- Interactor
- Umwelt::Abstract::Mapper
- Defined in:
- lib/umwelt/abstract/mapper.rb
Direct Known Subclasses
Episode::Mapper, Fragment::Mapper, History::Mapper, Phase::Mapper, Project::Mapper
Instance Method Summary collapse
Methods inherited from Interactor
Instance Method Details
#fill(struct, data) ⇒ Object
11 12 13 14 15 |
# File 'lib/umwelt/abstract/mapper.rb', line 11 def fill(struct, data) struct.new(data) rescue ArgumentError => e error! [self.class.name, e., data] end |