Sha256: 979082f6a58d2177401fe060b787039d3263d52dd8b32b75309036aa26e18455
Contents?: true
Size: 384 Bytes
Versions: 4
Compression:
Stored size: 384 Bytes
Contents
#!/usr/bin/env ruby lib = File.expand_path('../lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "takumi/server_list_ping" if ARGV[0] server_address, port = ARGV[0].split(':') end status_response = Takumi::ServerListPing.ping( server_address || 'localhost', (port && port.to_i) || ::Takumi::ServerListPing::PORT ) puts status_response.json
Version data entries
4 entries across 4 versions & 1 rubygems