module System
Defined in:
system.crClass Method Summary
- 
        .hostname
        
          
Returns the hostname
 
Class Method Detail
        
        def self.hostname
        #
      
      
        Returns the hostname
Maximum of 253 characters are allowed, with 2 bytes reserved for storage. In practice, many platforms will disallow anything longer than 63 characters.
System.hostname # => "host.example.org"