Class: RSpec::SleepingKingStudios::Deferred::Calls::SharedExamples

Inherits:
RSpec::SleepingKingStudios::Deferred::Call show all
Defined in:
lib/rspec/sleeping_king_studios/deferred/calls/shared_examples.rb

Overview

Value object representing a deferred RSpec shared example group.

Instance Attribute Summary

Attributes inherited from RSpec::SleepingKingStudios::Deferred::Call

#arguments, #block, #keywords, #method_name

Instance Method Summary collapse

Methods inherited from RSpec::SleepingKingStudios::Deferred::Call

#==, #call, #initialize

Constructor Details

This class inherits a constructor from RSpec::SleepingKingStudios::Deferred::Call

Instance Method Details

#nameString

Returns the description for the shared example group.

Returns:

  • (String)

    the description for the shared example group.



10
11
12
# File 'lib/rspec/sleeping_king_studios/deferred/calls/shared_examples.rb', line 10

def name
  arguments.first
end