mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-11-23 17:54:55 +09:00
Use consistent yield naming
This commit is contained in:
1 parent
f7c3aaa2a9
commit
6476bab4cc
1 file changed
+1
-1
@@ -6,7 +6,7 @@ module ActiveRecord
|
||||
end
|
||||
|
||||
def assign_data_with_type_casting(new_data)
|
||||
new_data.each { |key, value| send "#{key}=", value }
|
||||
new_data.each { |k, v| send "#{k}=", v }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user