Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 19:55:08 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-23 18:32:22 +0300
commit206953a430e442fbbd06984b1120890dbf8d3f79 (patch)
tree74922128d6a26bc0c9024b8588c9f38a6250cc0d /rubocop/cop
parentf72a65603db4dfdb41f327ab03892eed5dadb57e (diff)
Prefer leading style for Style/DotPosition
Diffstat (limited to 'rubocop/cop')
-rw-r--r--rubocop/cop/gem_fetcher.rb12
1 files changed, 6 insertions, 6 deletions
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