Welcome to mirror list, hosted at ThFree Co, Russian Federation.

environment.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5e0dd6e7859166e08c0d394e426cbf96fd417642 (plain)
1
2
3
4
5
6
7
module Gitlab
  module Environment
    def self.hostname
      @hostname ||= ENV['HOSTNAME'] || Socket.gethostname
    end
  end
end