Module: Riot::RR::ContextClassOverrides

Defined in:
lib/riot/rr.rb

Overview

Redefines the classes Context will use when creating new assertions and situations to be the ones provided RR support. See Assertion and Situation.

Instance Method Summary (collapse)

Instance Method Details

- (Class) assertion_class

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



47
# File 'lib/riot/rr.rb', line 47

def assertion_class; Riot::RR::Assertion; end

- (Class) situation_class

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



50
# File 'lib/riot/rr.rb', line 50

def situation_class; Riot::RR::Situation; end