Module: Quant::Experimental

Defined in:
lib/quant/experimental.rb

Overview

Experimental is an alert emitter for experimental code paths. It will typically be used for new indicators or computations that are not yet fully vetted or tested.

Class Method Summary collapse

Class Method Details

.rspec_defined?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/quant/experimental.rb', line 12

def self.rspec_defined?
  defined?("RSpec")
end

.trackerObject



8
9
10
# File 'lib/quant/experimental.rb', line 8

def self.tracker
  @tracker ||= {}
end