Class: RSpec::Interactive::ConfigCache::RecordingProxy
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Interactive::ConfigCache::RecordingProxy
- Defined in:
- lib/rspec-interactive/rspec_config_cache.rb
Instance Attribute Summary collapse
-
#recorded_messages ⇒ Object
Returns the value of attribute recorded_messages.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
24 25 26 27 |
# File 'lib/rspec-interactive/rspec_config_cache.rb', line 24 def method_missing(method, *args, &block) self. << [method, args, block] self.target.send(method, *args, &block) end |
Instance Attribute Details
#recorded_messages ⇒ Object
Returns the value of attribute recorded_messages
17 18 19 |
# File 'lib/rspec-interactive/rspec_config_cache.rb', line 17 def end |
#target ⇒ Object
Returns the value of attribute target
17 18 19 |
# File 'lib/rspec-interactive/rspec_config_cache.rb', line 17 def target @target end |