Property/UndefinedPropertyError
Property/MultiparameterAssignmentError
Property/ClassMethods
ruby
- def send_props(hash)
return hash if hash.blank? hash.each { self.send("#{key}=", value) }
end
Property/UndefinedPropertyError
Property/MultiparameterAssignmentError
Property/ClassMethods
ruby
- def send_props(hash)
return hash if hash.blank? hash.each { self.send("#{key}=", value) }
end