123456789_123456789_123456789_123456789_123456789_

Module: RSpec::Matchers::BuiltIn

Relationships & Source Files
Namespace Children
Modules:
Classes:
Defined in: rspec-expectations/lib/rspec/matchers/built_in.rb,
rspec-expectations/lib/rspec/matchers/built_in/all.rb,
rspec-expectations/lib/rspec/matchers/built_in/base_matcher.rb,
rspec-expectations/lib/rspec/matchers/built_in/be.rb,
rspec-expectations/lib/rspec/matchers/built_in/be_between.rb,
rspec-expectations/lib/rspec/matchers/built_in/be_instance_of.rb,
rspec-expectations/lib/rspec/matchers/built_in/be_kind_of.rb,
rspec-expectations/lib/rspec/matchers/built_in/be_within.rb,
rspec-expectations/lib/rspec/matchers/built_in/change.rb,
rspec-expectations/lib/rspec/matchers/built_in/compound.rb,
rspec-expectations/lib/rspec/matchers/built_in/contain_exactly.rb,
rspec-expectations/lib/rspec/matchers/built_in/count_expectation.rb,
rspec-expectations/lib/rspec/matchers/built_in/cover.rb,
rspec-expectations/lib/rspec/matchers/built_in/eq.rb,
rspec-expectations/lib/rspec/matchers/built_in/eql.rb,
rspec-expectations/lib/rspec/matchers/built_in/equal.rb,
rspec-expectations/lib/rspec/matchers/built_in/exist.rb,
rspec-expectations/lib/rspec/matchers/built_in/has.rb,
rspec-expectations/lib/rspec/matchers/built_in/have_attributes.rb,
rspec-expectations/lib/rspec/matchers/built_in/include.rb,
rspec-expectations/lib/rspec/matchers/built_in/match.rb,
rspec-expectations/lib/rspec/matchers/built_in/operators.rb,
rspec-expectations/lib/rspec/matchers/built_in/output.rb,
rspec-expectations/lib/rspec/matchers/built_in/raise_error.rb,
rspec-expectations/lib/rspec/matchers/built_in/respond_to.rb,
rspec-expectations/lib/rspec/matchers/built_in/satisfy.rb,
rspec-expectations/lib/rspec/matchers/built_in/start_or_end_with.rb,
rspec-expectations/lib/rspec/matchers/built_in/throw_symbol.rb,
rspec-expectations/lib/rspec/matchers/built_in/yield.rb

Overview

Container module for all built-in matchers. The matcher classes are here (rather than directly under ‘RSpec::Matchers`) in order to prevent name collisions, since ::RSpec::Matchers gets included into the user’s namespace.

Autoloading is used to delay when the matcher classes get loaded, allowing rspec-matchers to boot faster, and avoiding loading matchers the user is not using.

Constant Summary