Class: Srvy::Formatters::HostPort

Inherits:
Base
  • Object
show all
Defined in:
lib/srvy/formatters/host_port.rb

Instance Method Summary collapse

Methods inherited from Base

#format_many

Instance Method Details

#format_single(host) ⇒ Object



5
6
7
# File 'lib/srvy/formatters/host_port.rb', line 5

def format_single(host)
  "#{host.host}:#{host.port}"
end