Module: Pbt::Check::ConfigurationMethods
- Included in:
- Pbt
- Defined in:
- lib/pbt/check/configuration.rb
Instance Method Summary collapse
-
#configuration ⇒ Configuration
Return the current configuration.
-
#configure {|configuration| ... } ⇒ Object
Return the current configuration.
Instance Method Details
permalink #configuration ⇒ Configuration
Return the current configuration. If you modify the configuration, it will affect all future property-based tests.
39 40 41 |
# File 'lib/pbt/check/configuration.rb', line 39 def configuration @configuration ||= Configuration.new end |
permalink #configure {|configuration| ... } ⇒ Object
Return the current configuration. If you modify the configuration, it will affect all future property-based tests.
53 54 55 |
# File 'lib/pbt/check/configuration.rb', line 53 def configure yield(configuration) end |