class Sys::Uname

def self.nodename


Uname.nodename # => 'your_host.foo.com'

Example:

necessarily, the same as the host name.
which this node is attached, if any. This is often, but not
Returns the name of this node within the communications network to
def self.nodename
  uname.nodename
end