123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Core::SharedContext::Recording Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: rspec-core/lib/rspec/core/shared_context.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#args (rw)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/shared_context.rb', line 33

Recording = Struct.new(:method_name, :args, :block)

#block (rw)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/shared_context.rb', line 33

Recording = Struct.new(:method_name, :args, :block)

#method_name (rw)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/shared_context.rb', line 33

Recording = Struct.new(:method_name, :args, :block)

Instance Method Details

#playback_onto(group)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/shared_context.rb', line 34

def playback_onto(group)
  group.__send__(method_name, *args, &block)
end