Class: RSpec::Mocks::TargetBase

Inherits:
Object
  • Object
show all
Extended by:
TargetDelegationClassMethods
Includes:
TargetDelegationInstanceMethods
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/targets.rb

Instance Attribute Summary

Attributes included from TargetDelegationInstanceMethods

#target

Instance Method Summary collapse

Methods included from TargetDelegationClassMethods

delegate_not_to, delegate_to, disallow_negation

Constructor Details

#initialize(target) ⇒ TargetBase

Returns a new instance of TargetBase.



64
65
66
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/targets.rb', line 64

def initialize(target)
  @target = target
end