module FiveApples
Constants
- VERSION
Public Class Methods
test_host_ip()
click to toggle source
# File lib/fa_utils.rb, line 14 def self.test_host_ip net = Socket.ip_address_list.detect(&:ipv4_private?) net.nil? ? 'localhost' : net.ip_address end