Methods

Class/Module Index [+]

Quicksearch

RSpec::Core::Metadata::MetadataHash

@private

Public Instance Methods

[](key) click to toggle source

@private Supports lazy evaluation of some values. Extended by ExampleMetadataHash and GroupMetadataHash, which get mixed in to Metadata for ExampleGroups and Examples (respectively).

# File lib/rspec/core/metadata.rb, line 45
def [](key)
  store_computed(key) unless has_key?(key)
  super
end
fetch(key, *args) click to toggle source
# File lib/rspec/core/metadata.rb, line 50
def fetch(key, *args)
  store_computed(key) unless has_key?(key)
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.