class Metrician::Reporter

Attributes

reporters[R]

Public Class Methods

all() click to toggle source
# File lib/metrician/reporter.rb, line 6
def self.all
  reporters.select(&:enabled?).map(&:new)
end
enabled?() click to toggle source
# File lib/metrician/reporter.rb, line 21
def self.enabled?
  false
end
inherited(subclass) click to toggle source
# File lib/metrician/reporter.rb, line 16
def self.inherited(subclass)
  @reporters ||= Set.new
  @reporters << subclass
end

Public Instance Methods

instrument() click to toggle source
# File lib/metrician/reporter.rb, line 25
def instrument
  nil
end