Class: RSpec::Mocks::RootSpace Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-mocks/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
- #any_instance_proxy_for(*_args) Internal use only
- #any_instance_recorder_for(*_args) Internal use only
- #any_instance_recorders_from_ancestry_of(_object) Internal use only
- #new_scope Internal use only
- #proxy_for(*_args) Internal use only
- #register_constant_mutator(_mutator) Internal use only
- #registered?(_object) ⇒ Boolean Internal use only
- #reset_all Internal use only
- #superclass_proxy_for(*_args) Internal use only
- #verify_all Internal use only
- #raise_lifecycle_message private Internal use only
Instance Method Details
#any_instance_proxy_for(*_args)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 18
def any_instance_proxy_for(*_args) end
#any_instance_recorder_for(*_args)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 14
def any_instance_recorder_for(*_args) end
#any_instance_recorders_from_ancestry_of(_object)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 26
def any_instance_recorders_from_ancestry_of(_object) end
#new_scope
[ GitHub ]#proxy_for(*_args)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 10
def proxy_for(*_args) end
#raise_lifecycle_message (private)
# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 50
def raise OutsideOfExampleError, "The use of doubles or partial doubles from rspec-mocks outside of the per-test lifecycle is not supported." end
#register_constant_mutator(_mutator)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 22
def register_constant_mutator(_mutator) end
#registered?(_object) ⇒ Boolean
# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 36
def registered?(_object) false end
#reset_all
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 30
def reset_all end
#superclass_proxy_for(*_args)
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 40
def superclass_proxy_for(*_args) end
#verify_all
[ GitHub ]# File 'rspec-mocks/lib/rspec/mocks/space.rb', line 33
def verify_all end