Module: Modules::MassInitialize::InstanceMethods
- Included in:
- Forecast::Day
- Defined in:
- lib/concerns/modules.rb
Instance Method Summary collapse
Instance Method Details
#initialize(args) ⇒ Object
4 5 6 7 8 |
# File 'lib/concerns/modules.rb', line 4 def initialize(args) args.each do |key, value| self.send("#{key}=", value) end end |