class Excon::StandardInstrumentor

Public Class Methods

instrument(name, params = {}) { || ... } click to toggle source
# File lib/excon/standard_instrumentor.rb, line 3
def self.instrument(name, params = {}, &block)
  $stderr.puts("#{name}  #{params}")
  if block_given?
    yield
  end
end