Sha256: 11ecbbde0c7dfa4fe0ff191ffda80f46d1b74ddea1fbbec9cec7ea6dee94223c
Contents?: true
Size: 324 Bytes
Versions: 11
Compression:
Stored size: 324 Bytes
Contents
module Graphiterb module Utils # A module which provides information about the node this code is # executing on. # # Maybe it's worth bringing Ohai into this. I'm not sure. module SystemInfo def hostname @hostname ||= `hostname`.chomp.gsub(".","_") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems