class RSpec::Matchers::AliasedMatcher

Decorator that wraps a matcher and overrides ‘description` using the provided block in order to support an alias of a matcher. This is intended for use when composing matchers, so that you can use an expression like `include( a_value_within(0.1).of(3) )` rather than `include( be_within(0.1).of(3) )`, and have the corresponding description read naturally.

@api private