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 20:25:50 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-23 18:32:22 +0300
commitf74ca33a32fbf810b377cf480e996fb383d8f400 (patch)
treeb49de25e505da3ee7ca44493c4934b1add025130 /lib/gitlab/changes_list.rb
parentf3a83dc8fc377357291fd25d333f5b5a3616fae9 (diff)
Enable Style/ClassCheck
Diffstat (limited to 'lib/gitlab/changes_list.rb')
-rw-r--r--lib/gitlab/changes_list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/changes_list.rb b/lib/gitlab/changes_list.rb
index 95308aca95f..5b32fca00a4 100644
--- a/lib/gitlab/changes_list.rb
+++ b/lib/gitlab/changes_list.rb
@@ -5,7 +5,7 @@ module Gitlab
attr_reader :raw_changes
def initialize(changes)
- @raw_changes = changes.kind_of?(String) ? changes.lines : changes
+ @raw_changes = changes.is_a?(String) ? changes.lines : changes
end
def each(&block)