Module: Riot::ContextClassOverrides

Included in:
Context
Defined in:
lib/riot/context.rb

Overview

Defines the classes Context will use when creating new assertions and situations.

Instance Method Summary collapse

Instance Method Details

#assertion_classClass

Returns the default class used for generating new Assertion instances. Defaults to Assertion.



13
# File 'lib/riot/context.rb', line 13

def assertion_class; Assertion; end

#situation_classClass

Returns the default class used for generating new Situation instances. Defaults to Situation.



19
# File 'lib/riot/context.rb', line 19

def situation_class; Situation; end