Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/attr_inject/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#inject_attributes(params) ⇒ Object
2 3 4 5 6 |
# File 'lib/attr_inject/core_ext.rb', line 2 def inject_attributes(params) self.class.__inject_targets.each do |target| target.apply params, self end end |