Class: RSpec::SleepingKingStudios::Deferred::Calls::Hook
- Inherits:
-
RSpec::SleepingKingStudios::Deferred::Call
- Object
- RSpec::SleepingKingStudios::Deferred::Call
- RSpec::SleepingKingStudios::Deferred::Calls::Hook
- Defined in:
- lib/rspec/sleeping_king_studios/deferred/calls/hook.rb
Overview
Value object representing a deferred RSpec example.
Instance Attribute Summary
Attributes inherited from RSpec::SleepingKingStudios::Deferred::Call
#arguments, #block, #keywords, #method_name
Instance Method Summary collapse
-
#scope ⇒ Symbol
The scope of the hook.
Methods inherited from RSpec::SleepingKingStudios::Deferred::Call
Constructor Details
This class inherits a constructor from RSpec::SleepingKingStudios::Deferred::Call
Instance Method Details
#scope ⇒ Symbol
Returns the scope of the hook.
20 21 22 |
# File 'lib/rspec/sleeping_king_studios/deferred/calls/hook.rb', line 20 def scope arguments.first&.intern end |