Class: RSpec::Core::SharedContext::Recording
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Core::SharedContext::Recording
- Defined in:
- lib/rspec/core/shared_context.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#block ⇒ Object
Returns the value of attribute block.
-
#method_name ⇒ Object
Returns the value of attribute method_name.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
32 33 34 |
# File 'lib/rspec/core/shared_context.rb', line 32 def args @args end |
#block ⇒ Object
Returns the value of attribute block
32 33 34 |
# File 'lib/rspec/core/shared_context.rb', line 32 def block @block end |
#method_name ⇒ Object
Returns the value of attribute method_name
32 33 34 |
# File 'lib/rspec/core/shared_context.rb', line 32 def method_name @method_name end |
Instance Method Details
#playback_onto(group) ⇒ Object
33 34 35 |
# File 'lib/rspec/core/shared_context.rb', line 33 def playback_onto(group) group.__send__(method_name, *args, &block) end |