diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-08-27 16:18:24 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-08-27 16:18:24 +0200 |
commit | 5de3c0e8e22a205d6628d4ee23deebb7a20ac302 (patch) | |
tree | 2dad2c0daf0f601754bdc6232ff0486ccad67a2d /lib/gitlab_shell.rb | |
parent | ea88c9b2747ffb4cb0481b8cb274ebc4919474db (diff) | |
download | gitlab-shell-5de3c0e8e22a205d6628d4ee23deebb7a20ac302.tar.gz |
Use a different style of one-line classes
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index b2ddcc8..d0f23d7 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -3,7 +3,7 @@ require 'shellwords' require_relative 'gitlab_net' class GitlabShell - DisallowedCommandError = Class.new(StandardError) + class DisallowedCommandError < StandardError; end attr_accessor :key_id, :repo_name, :git_cmd, :repos_path, :repo_name |