Class: Quarry::Runner::Context
- Defined in:
- lib/quarry/runner/context.rb
Overview
Spec Context
Specifications are run within an instance of Context.
Instance Method Summary collapse
-
#initialize(spec) ⇒ Context
constructor
A new instance of Context.
- #inspect ⇒ Object
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
#inspect ⇒ Object
15 16 17 |
# File 'lib/quarry/runner/context.rb', line 15 def inspect "##{@spec.file}" end |