lib/rubocop/cop/rails/time_zone.rb in rubocop-rails-2.3.2 vs lib/rubocop/cop/rails/time_zone.rb in rubocop-rails-2.4.0

- old
+ new

@@ -186,10 +186,10 @@ def check_localtime(node) selector_node = node while node&.send_type? - break if node.method_name == :localtime + break if node.method?(:localtime) node = node.parent end return if node.arguments?