Class: RSpec::SleepingKingStudios::Configuration
- Inherits:
-
Object
- Object
- RSpec::SleepingKingStudios::Configuration
- Defined in:
- lib/rspec/sleeping_king_studios/configuration.rb
Overview
Configuration options for RSpec::SleepingKingStudios.
Defined Under Namespace
Instance Method Summary collapse
-
#examples ⇒ Object
Get or set the configuration options for RSpec::SleepingKingStudios::Examples.
-
#matchers ⇒ Object
Get or set the configuration options for RSpec::SleepingKingStudios::Matchers.
Instance Method Details
#examples ⇒ Object
Get or set the configuration options for RSpec::SleepingKingStudios::Examples.
133 134 135 136 137 138 139 |
# File 'lib/rspec/sleeping_king_studios/configuration.rb', line 133 def examples(&) @examples ||= RSpec::SleepingKingStudios::Configuration::Examples.new @examples.instance_eval(&) if block_given? @examples end |
#matchers ⇒ Object
Get or set the configuration options for RSpec::SleepingKingStudios::Matchers.
143 144 145 146 147 148 149 |
# File 'lib/rspec/sleeping_king_studios/configuration.rb', line 143 def matchers(&) @matchers ||= RSpec::SleepingKingStudios::Configuration::Matchers.new @matchers.instance_eval(&) if block_given? @matchers end |