mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-09-22 16:24:54 +09:00
Use consistent yield naming
This commit is contained in:
@@ -6,7 +6,7 @@ module ActiveRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def assign_data_with_type_casting(new_data)
|
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
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Reference in New Issue
Block a user