Module: Greenlight

Defined in:
lib/greenlight.rb,
lib/greenlight/test.rb,
lib/greenlight/request.rb,
lib/greenlight/scenario.rb

Defined Under Namespace

Classes: AssertionException, Request, RequestException, RequestResponse, Runner, Scenario, ScenarioException, Test, TestException

Class Method Summary collapse

Class Method Details

.eval(params, &block) ⇒ Object



136
137
138
139
140
# File 'lib/greenlight.rb', line 136

def self.eval(params, &block)
  runner = Runner.instance
  runner.params = params
  runner.instance_eval(&block)
end