RSpec

Library providing tools for writing and running RSpec tests.

Class: RSpec::SleepingKingStudios::Deferred::Calls::Hook

Parent Namespace
RSpec::SleepingKingStudios::Deferred::Calls
Inherited Classes
RSpec::SleepingKingStudios::Deferred::Call > Object
Defined In
lib/rspec/sleeping_king_studios/deferred/calls/hook.rb

Table Of Contents

Overview

Value object representing a deferred RSpec example.

Back To Top

Constructor

#initialize(method_name, *arguments, **keywords, &block) => Call

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Parameters

Returns

Back To Top

Instance Attributes

#arguments => Array (readonly)

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Returns

#block => Proc (readonly)

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Returns

#keywords => Hash (readonly)

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Returns

#method_name => String, Symbol (readonly)

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Returns

Back To Top

Instance Methods

#==(other) => Boolean

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Compares the other object with the deferred call.

Returns true if and only if:

Parameters

Returns

#call(receiver) => Object

Inherited From
RSpec::SleepingKingStudios::Deferred::Call

Invokes the deferred method call on the receiver.

Parameters

Returns

#scope => Symbol

Returns

Back To Top


Back to Documentation | Versions | 2.8 | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Deferred | RSpec::SleepingKingStudios::Deferred::Calls