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

14 lines
239 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
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