Class: RSpec::Mocks::RootSpace

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb

Overview

Provides a default space implementation for outside the scope of an example. Called “root” because it serves as the root of the space stack.

Instance Method Summary collapse

Instance Method Details

#any_instance_proxy_for(*_args) ⇒ Object



18
19
20
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 18

def any_instance_proxy_for(*_args)
  raise_lifecycle_message
end

#any_instance_recorder_for(*_args) ⇒ Object



14
15
16
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 14

def any_instance_recorder_for(*_args)
  raise_lifecycle_message
end

#any_instance_recorders_from_ancestry_of(_object) ⇒ Object



26
27
28
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 26

def any_instance_recorders_from_ancestry_of(_object)
  raise_lifecycle_message
end

#new_scopeObject



44
45
46
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 44

def new_scope
  Space.new
end

#proxy_for(*_args) ⇒ Object



10
11
12
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 10

def proxy_for(*_args)
  raise_lifecycle_message
end

#register_constant_mutator(_mutator) ⇒ Object



22
23
24
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 22

def register_constant_mutator(_mutator)
  raise_lifecycle_message
end

#registered?(_object) ⇒ Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 36

def registered?(_object)
  false
end

#reset_allObject



30
31
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 30

def reset_all
end

#superclass_proxy_for(*_args) ⇒ Object



40
41
42
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 40

def superclass_proxy_for(*_args)
  raise_lifecycle_message
end

#verify_allObject



33
34
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/space.rb', line 33

def verify_all
end