module ActiveWorker::HostInformation

Public Class Methods

hostname() click to toggle source
# File lib/active_worker/host_information.rb, line 4
def self.hostname
  `hostname -f`.chomp
end
short_hostname() click to toggle source
# File lib/active_worker/host_information.rb, line 8
def self.short_hostname
  `hostname`.chomp
end