mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove redundant returning object
`object.transform_values!` returns `object` itself.
This commit is contained in:
parent
bb17528769
commit
50e4fda0a5
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ class Hash
|
|||
case object
|
||||
when Hash
|
||||
object.transform_values! { |value| _deep_transform_values_in_object!(value, &block) }
|
||||
object
|
||||
when Array
|
||||
object.map! { |e| _deep_transform_values_in_object!(e, &block) }
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue