Method: DuckTest::Config#framework
- Defined in:
- lib/duck_test/config.rb
#framework(key, options = {}) {|config| ... } ⇒ NilClass
Configures a framework
356 357 358 359 360 361 362 363 364 365 366 367 368 |
# File 'lib/duck_test/config.rb', line 356 def framework(key, = {}, &block) prev_value = self.current_framework self.current_framework = key config = {framework: self.current_framework}.merge() yield config if block_given? self.current_framework = prev_value return nil end |