Module: ReportsMash::Engine

Extended by:
Engine
Included in:
Engine
Defined in:
lib/reportsmash/engine.rb,
lib/reportsmash/engine/engine.rb,
lib/reportsmash/engine/worker.rb,
lib/reportsmash/engine/threading.rb,
lib/reportsmash/engine/transaction.rb,
lib/reportsmash/engine/thread_state.rb,
lib/reportsmash/engine/instrumentation.rb

Defined Under Namespace

Modules: Instrumentation, Threading Classes: Engine, ThreadState, Transaction, WorkerLoop

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



20
21
22
# File 'lib/reportsmash/engine.rb', line 20

def options
  @options
end

Instance Method Details

#boot_from_forkObject



31
32
33
# File 'lib/reportsmash/engine.rb', line 31

def boot_from_fork
  engine.boot_from_fork()
end

#custom_attr(params) ⇒ Object



35
36
37
# File 'lib/reportsmash/engine.rb', line 35

def custom_attr(params)
  @engine.custom_attr(params)
end

#engineObject Also known as: instance



22
23
24
# File 'lib/reportsmash/engine.rb', line 22

def engine
  @engine || raise("ReportsMash plugin not initialized!")
end

#engine=(new_instance) ⇒ Object



26
27
28
# File 'lib/reportsmash/engine.rb', line 26

def engine=(new_instance)
  @engine = new_instance 
end