Class: Caricature::IsolatorContext
- Defined in:
- lib/caricature/isolation.rb
Overview
The context for an isolator. This contains the subject, recorder, expectations and messenger
Instance Attribute Summary collapse
-
#expectations ⇒ Object
Returns the value of attribute expectations.
-
#messenger ⇒ Object
Returns the value of attribute messenger.
-
#recorder ⇒ Object
Returns the value of attribute recorder.
-
#subject ⇒ Object
Returns the value of attribute subject.
Instance Attribute Details
#expectations ⇒ Object
Returns the value of attribute expectations
44 45 46 |
# File 'lib/caricature/isolation.rb', line 44 def expectations @expectations end |
#messenger ⇒ Object
Returns the value of attribute messenger
44 45 46 |
# File 'lib/caricature/isolation.rb', line 44 def messenger @messenger end |
#recorder ⇒ Object
Returns the value of attribute recorder
44 45 46 |
# File 'lib/caricature/isolation.rb', line 44 def recorder @recorder end |
#subject ⇒ Object
Returns the value of attribute subject
44 45 46 |
# File 'lib/caricature/isolation.rb', line 44 def subject @subject end |