It takes this line
super() { |v| v.send(instance_variable_get(:@__smart_hashify__transform_method)) }
And changes it to
super() do |v| v.send(instance_variable_get(:@__smart_hashify__transform_method)) end
Without the parenthesis, the line is left alone. This also happens when there are arguments inside the parenthesis. I would expect it to behave the same with or without parenthesis, or format the do end block properly onto multiple lines.
syntax_tree (6.3.0) ran from CLI.
It takes this line
And changes it to
Without the parenthesis, the line is left alone. This also happens when there are arguments inside the parenthesis. I would expect it to behave the same with or without parenthesis, or format the do end block properly onto multiple lines.
syntax_tree (6.3.0) ran from CLI.