Module: Isolate::Scenarios::Entry

Defined in:
lib/isolate/scenarios/extensions.rb

Overview

Extension to Isolate::Entry to be scenario friendly

Instance Method Summary collapse

Instance Method Details

#default_scenarioObject



9
10
11
# File 'lib/isolate/scenarios/extensions.rb', line 9

def default_scenario
  options[:default_scenario]
end

#scenario_env_variableObject



13
14
15
# File 'lib/isolate/scenarios/extensions.rb', line 13

def scenario_env_variable
  "ISOLATE_#{name.upcase.gsub('-', '_')}_SCENARIO"
end

#scenariosObject



5
6
7
# File 'lib/isolate/scenarios/extensions.rb', line 5

def scenarios
  options[:scenarios]
end