diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-10-04 15:08:53 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-10-04 15:08:53 +0200 |
commit | c35ba969e5485c4853365abd1256558e5d8d3d74 (patch) | |
tree | afbf5ae11584f92855e26e6228de7e887aab6f1f /lib | |
parent | 064fbfae895c873c26d04761d7690e5506082d20 (diff) | |
parent | 18bc7683f8cff15b761e998f49c912a77a7c3b82 (diff) | |
download | gitlab-shell-c35ba969e5485c4853365abd1256558e5d8d3d74.tar.gz |
Merge pull request #182 from cirosantilli/split-instance-var-defs
Split one instance variable per line
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab_access.rb | 3 |
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 |