From 206953a430e442fbbd06984b1120890dbf8d3f79 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 22 Feb 2017 10:55:08 -0600 Subject: Prefer leading style for Style/DotPosition --- rubocop/cop/gem_fetcher.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rubocop/cop') diff --git a/rubocop/cop/gem_fetcher.rb b/rubocop/cop/gem_fetcher.rb index 6a951f5f91a..e157d8e0791 100644 --- a/rubocop/cop/gem_fetcher.rb +++ b/rubocop/cop/gem_fetcher.rb @@ -25,12 +25,12 @@ module RuboCop private def gemfile?(node) - node. - location. - expression. - source_buffer. - name. - end_with?("Gemfile") + node + .location + .expression + .source_buffer + .name + .end_with?("Gemfile") end end end -- cgit v1.2.1