lib/rubocop/rspec/blank_line_separation.rb in rubocop-rspec-1.41.0 vs lib/rubocop/rspec/blank_line_separation.rb in rubocop-rspec-1.42.0
- old
+ new
@@ -30,16 +30,8 @@
def last_child?(node)
return true unless node.parent&.begin_type?
node.equal?(node.parent.children.last)
end
-
- def autocorrect(node)
- lambda do |corrector|
- missing_separating_line(node) do |location|
- corrector.insert_after(location.end, "\n")
- end
- end
- end
end
end
end