Class: Srvy::Formatters::Dalli
- Defined in:
- lib/srvy/formatters/dalli.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#format_single(host) ⇒ Object
5 6 7 |
# File 'lib/srvy/formatters/dalli.rb', line 5 def format_single(host) "#{host.host}:#{host.port}:#{host.weight}" end |