Class: RSpec::Core::Configuration
- Inherits:
-
Object
- Object
- RSpec::Core::Configuration
- Defined in:
- lib/rspec/sleeping_king_studios/configuration.rb
Overview
module
Instance Method Summary collapse
-
#sleeping_king_studios(&block) ⇒ Object
Get or set the configuration options for RSpec::SleepingKingStudios.
Instance Method Details
#sleeping_king_studios(&block) ⇒ Object
Get or set the configuration options for RSpec::SleepingKingStudios.
147 148 149 150 151 152 153 |
# File 'lib/rspec/sleeping_king_studios/configuration.rb', line 147 def sleeping_king_studios &block @sleeping_king_studios ||= RSpec::SleepingKingStudios::Configuration.new @sleeping_king_studios.instance_eval(&block) if block_given? @sleeping_king_studios end |