Class: Orchestra::Recording::Playback
- Inherits:
- BasicObject
- Defined in:
- lib/orchestra/recording/playback.rb
Defined Under Namespace
Classes: Factory
Instance Attribute Summary collapse
-
#mocks ⇒ Object
readonly
Returns the value of attribute mocks.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mocks) ⇒ Playback
constructor
A new instance of Playback.
- #respond_to?(meth) ⇒ Boolean
Constructor Details
#initialize(mocks) ⇒ Playback
Returns a new instance of Playback.
6 7 8 |
# File 'lib/orchestra/recording/playback.rb', line 6 def initialize mocks @mocks = mocks end |
Instance Attribute Details
#mocks ⇒ Object (readonly)
Returns the value of attribute mocks.
4 5 6 |
# File 'lib/orchestra/recording/playback.rb', line 4 def mocks @mocks end |
Class Method Details
Instance Method Details
#respond_to?(meth) ⇒ Boolean
10 11 12 |
# File 'lib/orchestra/recording/playback.rb', line 10 def respond_to? meth mocks.has_key? meth end |