class TraceD::Client

Public Class Methods

increment(stat) click to toggle source
# File lib/traced/client.rb, line 8
def increment(stat)
  @client.increment(stat)
end
set(client) click to toggle source
# File lib/traced/client.rb, line 4
def set(client)
  @client = client
end
time(stat) { || ... } click to toggle source
# File lib/traced/client.rb, line 12
def time(stat)
  @client.time(stat) do
    yield
  end
end