summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-10-04 15:08:53 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-10-04 15:08:53 +0200
commitc35ba969e5485c4853365abd1256558e5d8d3d74 (patch)
treeafbf5ae11584f92855e26e6228de7e887aab6f1f
parent064fbfae895c873c26d04761d7690e5506082d20 (diff)
parent18bc7683f8cff15b761e998f49c912a77a7c3b82 (diff)
downloadgitlab-shell-c35ba969e5485c4853365abd1256558e5d8d3d74.tar.gz
Merge pull request #182 from cirosantilli/split-instance-var-defs
Split one instance variable per line
-rw-r--r--lib/gitlab_access.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb
index 63c074b..80c050c 100644
--- a/lib/gitlab_access.rb
+++ b/lib/gitlab_access.rb
@@ -10,7 +10,8 @@ class GitlabAccess
def initialize(repo_path, actor, changes)
@config = GitlabConfig.new
- @repo_path, @actor = repo_path.strip, actor
+ @repo_path = repo_path.strip
+ @actor = actor
@repo_name = extract_repo_name(@repo_path.dup, config.repos_path.to_s)
@changes = changes.lines
end