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
#configuration ⇒ Configuration
Return the current configuration. If you modify the configuration, it will affect all future property-based tests.
42 43 44 |
# File 'lib/pbt/check/configuration.rb', line 42 def configuration @configuration ||= Configuration.new end |
#configure {|configuration| ... } ⇒ Object
Return the current configuration. If you modify the configuration, it will affect all future property-based tests.
56 57 58 |
# File 'lib/pbt/check/configuration.rb', line 56 def configure yield(configuration) end |