diff options
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 |