Class: Quarry::Runner::Context

Inherits:
Module
  • Object
show all
Defined in:
lib/quarry/runner/context.rb

Overview

Spec Context

Specifications are run within an instance of Context.

Instance Method Summary collapse

Constructor Details

#initialize(spec) ⇒ Context

Returns a new instance of Context.



10
11
12
13
# File 'lib/quarry/runner/context.rb', line 10

def initialize(spec)
  @spec = spec
  extend self
end

Instance Method Details

#inspectObject



15
16
17
# File 'lib/quarry/runner/context.rb', line 15

def inspect
  "##{@spec.file}"
end