Class: RSpec::Daemon::Configuration::RecordingProxy
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Daemon::Configuration::RecordingProxy
- Defined in:
- lib/rspec/daemon/configuration.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
13 14 15 16 |
# File 'lib/rspec/daemon/configuration.rb', line 13 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
6 7 8 |
# File 'lib/rspec/daemon/configuration.rb', line 6 def @recorded_messages end |
#target ⇒ Object
Returns the value of attribute target
6 7 8 |
# File 'lib/rspec/daemon/configuration.rb', line 6 def target @target end |