Class: Riot::RR::Situation
- Includes:
- RR::Adapters::RRMethods
- Defined in:
- lib/riot/rr.rb
Overview
Basically, provides a Situation that has been adapted to RR. This means that any of the RR methods that would typically be used: mock
, stub
, verify
, etc. will be available to any setup, yeardown, helper, hookup, or assertion.
Instance Method Summary collapse
-
#initialize ⇒ Situation
constructor
A new instance of Situation.
Methods inherited from Situation
#evaluate, #helper, #setup, #topic
Constructor Details
#initialize ⇒ Situation
Returns a new instance of Situation.
14 15 16 17 |
# File 'lib/riot/rr.rb', line 14 def initialize self.reset super end |