Libraries
»
roundhouse-x
(0.1.0)
»
Index
»
Roundhouse
»
Util
»
#hostname
Method: Roundhouse::Util#hostname
Defined in:
lib/roundhouse/util.rb
#
hostname
⇒
Object
30 31 32
# File 'lib/roundhouse/util.rb', line 30
def
hostname
ENV
[
'
DYNO
'
]
||
Socket
.
gethostname
end