2018-10-22 07:00:50 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-03-21 19:01:14 +00:00
|
|
|
# == GitLab Shell mixin
|
|
|
|
#
|
|
|
|
# Provide a shortcut to Gitlab::Shell instance by gitlab_shell
|
|
|
|
#
|
|
|
|
module Gitlab
|
|
|
|
module ShellAdapter
|
|
|
|
def gitlab_shell
|
2017-11-21 07:28:49 +00:00
|
|
|
@gitlab_shell ||= Gitlab::Shell.new
|
2013-03-21 19:01:14 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|