debian-mirror-gitlab/lib/gitlab/shell_adapter.rb

12 lines
208 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
# == GitLab Shell mixin
#
# Provide a shortcut to Gitlab::Shell instance by gitlab_shell
#
module Gitlab
module ShellAdapter
def gitlab_shell
2018-03-17 18:26:18 +05:30
@gitlab_shell ||= Gitlab::Shell.new
2014-09-02 18:07:02 +05:30
end
end
end