Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-27 18:14:58 +0300
committerRémy Coutable <remy@rymai.me>2017-01-27 18:16:55 +0300
commitf575fe46a792593414f7f21533bfbbdceae2740c (patch)
tree960779ca5af1ac5f8730e8f107bf16143d07a05e /lib/gitlab/shell_adapter.rb
parentc446cfcbae82b4bfa2987ddf2b4865b11230ca1b (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.rb11
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