2013-03-21 15:01:14 -04:00
|
|
|
# == GitLab Shell mixin
|
|
|
|
#
|
|
|
|
# Provide a shortcut to Gitlab::Shell instance by gitlab_shell
|
|
|
|
#
|
|
|
|
module Gitlab
|
|
|
|
module ShellAdapter
|
|
|
|
def gitlab_shell
|
2017-11-21 02:28:49 -05:00
|
|
|
@gitlab_shell ||= Gitlab::Shell.new
|
2013-03-21 15:01:14 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|