gitlab-org--gitlab-foss/lib/gitlab/shell_adapter.rb

12 lines
208 B
Ruby
Raw Normal View History

# == GitLab Shell mixin
#
# Provide a shortcut to Gitlab::Shell instance by gitlab_shell
#
module Gitlab
module ShellAdapter
def gitlab_shell
@gitlab_shell ||= Gitlab::Shell.new
end
end
end