Module RSpec::Expectations::Syntax
In: lib/rspec/expectations/syntax.rb

@api private Provides methods for enabling and disabling the available syntaxes provided by rspec-expectations.

Methods

Classes and Modules

Module RSpec::Expectations::Syntax::ExpectExpressionGenerator
Module RSpec::Expectations::Syntax::ShouldExpressionGenerator

Public Instance methods

@api private Determines where we add `should` and `should_not`.

@api private Disables the `expect` syntax.

@api private Enables the `expect` syntax.

@api private Indicates whether or not the `expect` syntax is enabled.

@api private Selects which expression generator to use based on the configured syntax.

@api private Generates a negative expectation expression.

@api private Generates a positive expectation expression.

@api private Indicates whether or not the `should` syntax is enabled.

[Validate]