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
-
#assertion_class ⇒ Class
Returns the default class used for generating new Assertion instances.
-
#situation_class ⇒ Class
Returns the default class used for generating new Situation instances.
Instance Method Details
#assertion_class ⇒ Class
13 |
# File 'lib/riot/context.rb', line 13 def assertion_class; Assertion; end |