debian-mirror-gitlab/lib/gitlab/shell_adapter.rb
2018-03-17 18:26:18 +05:30

11 lines
208 B
Ruby

# == 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