diff options
author | Rémy Coutable <remy@rymai.me> | 2017-01-27 18:14:58 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-01-27 18:16:55 +0300 |
commit | f575fe46a792593414f7f21533bfbbdceae2740c (patch) | |
tree | 960779ca5af1ac5f8730e8f107bf16143d07a05e /lib/gitlab/shell_adapter.rb | |
parent | c446cfcbae82b4bfa2987ddf2b4865b11230ca1b (diff) |
Move Gitlab::Shell and Gitlab::ShellAdapter files to lib/
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/gitlab/shell_adapter.rb')
-rw-r--r-- | lib/gitlab/shell_adapter.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/gitlab/shell_adapter.rb b/lib/gitlab/shell_adapter.rb new file mode 100644 index 00000000000..fbe2a7a0d72 --- /dev/null +++ b/lib/gitlab/shell_adapter.rb @@ -0,0 +1,11 @@ +# == GitLab Shell mixin +# +# Provide a shortcut to Gitlab::Shell instance by gitlab_shell +# +module Gitlab + module ShellAdapter + def gitlab_shell + Gitlab::Shell.new + end + end +end |