RSpec

Library providing tools for writing and running RSpec tests.

Class: RSpec::SleepingKingStudios::Deferred::Call

Parent Namespace
RSpec::SleepingKingStudios::Deferred
Defined In
lib/rspec/sleeping_king_studios/deferred/call.rb

Table Of Contents

Overview

Value object representing a deferred call to a method.

Back To Top

Direct Subclasses

RSpec::SleepingKingStudios::Deferred::Calls::Example, RSpec::SleepingKingStudios::Deferred::Calls::ExampleGroup, RSpec::SleepingKingStudios::Deferred::Calls::Hook, RSpec::SleepingKingStudios::Deferred::Calls::IncludedExamples, RSpec::SleepingKingStudios::Deferred::Calls::SharedExamples

Back To Top

Constructor

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

Parameters

Returns

Back To Top

Instance Attributes

#arguments => Array (readonly)

Returns

#block => Proc (readonly)

Returns

#keywords => Hash (readonly)

Returns

#method_name => String, Symbol (readonly)

Returns

Back To Top

Instance Methods

#==(other) => Boolean

Compares the other object with the deferred call.

Returns true if and only if:

Parameters

Returns

#call(receiver) => Object

Invokes the deferred method call on the receiver.

Parameters

Returns

Back To Top


Back to Documentation | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Deferred