Method: RSpec::Core::Configuration#define_derived_metadata
- Defined in:
- lib/rspec/core/configuration.rb
#define_derived_metadata(*filters) {|metadata| ... } ⇒ void
Defines a callback that can assign derived metadata values.
1907 1908 1909 1910 |
# File 'lib/rspec/core/configuration.rb', line 1907 def (*filters, &block) = Metadata.build_hash_from(filters, :warn_about_example_group_filtering) @derived_metadata_blocks.append(block, ) end |