Class: RequireProfiler::Plugins::Base

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

Direct Known Subclasses

HTTPPlugin, RailsPlugin, YAMLPlugin

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reporter) ⇒ Base

Returns a new instance of Base.



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

def initialize(reporter)
  @reporter = reporter
end

Instance Attribute Details

#reporterObject (readonly)

Returns the value of attribute reporter.



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

def reporter
  @reporter
end