BigW Consortium Gitlab

environment.rb 133 Bytes
Newer Older
1 2 3 4 5 6 7
module Gitlab
  module Environment
    def self.hostname
      @hostname ||= ENV['HOSTNAME'] || Socket.gethostname
    end
  end
end