Module: NoBrainer::Profiler

Defined in:
lib/no_brainer/profiler.rb,
lib/no_brainer/profiler/logger.rb,
lib/no_brainer/profiler/slow_queries.rb

Defined Under Namespace

Modules: ControllerRuntime Classes: Logger, SlowQueries

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.registered_profilersObject

Returns the value of attribute registered_profilers.



3
4
5
# File 'lib/no_brainer/profiler.rb', line 3

def registered_profilers
  @registered_profilers
end

Class Method Details

.register(profiler) ⇒ Object



5
6
7
# File 'lib/no_brainer/profiler.rb', line 5

def register(profiler)
  self.registered_profilers << profiler
end