Class: Excon::StandardInstrumentor
- Inherits:
-
Object
- Object
- Excon::StandardInstrumentor
- Defined in:
- lib/excon/standard_instrumentor.rb
Class Method Summary collapse
Class Method Details
.instrument(name, params = {}, &block) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/excon/standard_instrumentor.rb', line 3 def self.instrument(name, params = {}, &block) $stderr.puts("#{name} #{params}") if block_given? yield end end |