Class: RequireProfiler::Plugins::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/require_profiler/plugins.rb

Direct Known Subclasses

HTTPPlugin, YAMLPlugin

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reporter) ⇒ Base

Returns a new instance of Base.



15
16
17
# File 'lib/require_profiler/plugins.rb', line 15

def initialize(reporter)
  @reporter = reporter
end

Instance Attribute Details

#reporterObject (readonly)

Returns the value of attribute reporter.



13
14
15
# File 'lib/require_profiler/plugins.rb', line 13

def reporter
  @reporter
end