diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-04 12:48:38 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-04 12:48:38 +0200 |
commit | 18bc7683f8cff15b761e998f49c912a77a7c3b82 (patch) | |
tree | 76a9473b5e3ec6a9dd78e38638c28a08195e739b /lib/gitlab_access.rb | |
parent | e49cb2b7e182b778f37b02a72fdc01938555764b (diff) | |
download | gitlab-shell-18bc7683f8cff15b761e998f49c912a77a7c3b82.tar.gz |
Split one instance variable per line
Diffstat (limited to 'lib/gitlab_access.rb')
-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 |