lib/rubocop/cop/mixin/argument_range_helper.rb in rubocop-minitest-0.29.0 vs lib/rubocop/cop/mixin/argument_range_helper.rb in rubocop-minitest-0.30.0

- old
+ new

@@ -7,15 +7,9 @@ module ArgumentRangeHelper include RangeHelp private - def first_argument_range(node) - first_argument = node.first_argument - - range_between(first_argument.source_range.begin_pos, first_argument.source_range.end_pos) - end - def first_and_second_arguments_range(node) first_argument = node.first_argument second_argument = node.arguments[1] range_between(first_argument.source_range.begin_pos, second_argument.source_range.end_pos)