Module: RSpec::Matchers::BuiltIn

Defined in:
lib/rspec/matchers/built_in.rb,
lib/rspec/matchers/built_in/eq.rb,
lib/rspec/matchers/built_in/be.rb,
lib/rspec/matchers/built_in/has.rb,
lib/rspec/matchers/built_in/eql.rb,
lib/rspec/matchers/built_in/all.rb,
lib/rspec/matchers/built_in/cover.rb,
lib/rspec/matchers/built_in/exist.rb,
lib/rspec/matchers/built_in/yield.rb,
lib/rspec/matchers/built_in/match.rb,
lib/rspec/matchers/built_in/equal.rb,
lib/rspec/matchers/built_in/output.rb,
lib/rspec/matchers/built_in/change.rb,
lib/rspec/matchers/built_in/satisfy.rb,
lib/rspec/matchers/built_in/include.rb,
lib/rspec/matchers/built_in/compound.rb,
lib/rspec/matchers/built_in/operators.rb,
lib/rspec/matchers/built_in/be_within.rb,
lib/rspec/matchers/built_in/respond_to.rb,
lib/rspec/matchers/built_in/be_kind_of.rb,
lib/rspec/matchers/built_in/be_between.rb,
lib/rspec/matchers/built_in/raise_error.rb,
lib/rspec/matchers/built_in/throw_symbol.rb,
lib/rspec/matchers/built_in/base_matcher.rb,
lib/rspec/matchers/built_in/be_instance_of.rb,
lib/rspec/matchers/built_in/contain_exactly.rb,
lib/rspec/matchers/built_in/have_attributes.rb,
lib/rspec/matchers/built_in/start_or_end_with.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.

Defined Under Namespace

Classes: All, BaseMatcher, Be, BeAKindOf, BeAnInstanceOf, BeBetween, BeComparedTo, BeFalsey, BeNil, BePredicate, BeTruthy, BeWithin, Change, ChangeFromValue, ChangeRelatively, ChangeToValue, Compound, ContainExactly, Cover, EndWith, Eq, Eql, Equal, Exist, Has, HaveAttributes, Include, Match, OperatorMatcher, Output, RaiseError, ReliableMatchData, RespondTo, Satisfy, SpecificValuesChange, StartOrEndWith, StartWith, ThrowSymbol, YieldControl, YieldSuccessiveArgs, YieldWithArgs, YieldWithNoArgs

Constant Summary