Module: McDump

Defined in:
lib/mc_dump.rb,
lib/mc_dump/report.rb,
lib/mc_dump/version.rb,
lib/mc_dump/rake/task.rb,
lib/mc_dump/memcached/item.rb,
lib/mc_dump/memcached/stat.rb,
lib/mc_dump/telnet/session.rb,
lib/mc_dump/memcached/server.rb,
lib/mc_dump/telnet/connection.rb

Defined Under Namespace

Modules: Memcached, Rake, Telnet Classes: Report

Constant Summary collapse

VERSION =
"0.0.1".freeze

Class Method Summary collapse

Class Method Details

.server(connection_args) ⇒ Object


12
13
14
15
# File 'lib/mc_dump.rb', line 12

def self.server(connection_args)
  server = McDump::Memcached::Server.new(connection_args)
  McDump::Report.new(server.items).dump
end