Module: DomesticateMonkeys

Defined in:
lib/domesticate_monkeys.rb,
lib/domesticate_monkeys/version.rb,
lib/domesticate_monkeys/constants/view.rb,
lib/domesticate_monkeys/constants/track.rb,
lib/domesticate_monkeys/constants/report.rb,
lib/domesticate_monkeys/constants/snapshot.rb

Defined Under Namespace

Classes: Report, Snapshot, Track, View

Constant Summary collapse

Root =
File.expand_path('../', __dir__)
MainApp =
Root + "/lib/domesticate_monkeys/boot/main_app.rb"
ForbiddenDependencies =
%w[debug]
VERSION =
'0.0.5'

Class Method Summary collapse

Class Method Details

.validateObject



20
21
22
23
24
25
26
# File 'lib/domesticate_monkeys.rb', line 20

def validate
  ForbiddenDependencies.each do |dep|
    if Gem.loaded_specs[dep].present?
      raise StandardError, "Can't run datagaze with dependency #{dep}, since it overwrites our required Kernel monkey patch."
    end
  end
end