debian-mirror-gitlab/lib/gitlab/shell_adapter.rb
2018-12-13 13:39:08 +05:30

13 lines
239 B
Ruby

# frozen_string_literal: true
# == 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