Class: RSpec::Core::Example::Procsy

Inherits:
Proc
  • Object
show all
Defined in:
lib/rspec/core/example.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(metadata, &block) ⇒ Procsy

Returns a new instance of Procsy.



81
82
83
84
# File 'lib/rspec/core/example.rb', line 81

def initialize(, &block)
  @metadata = 
  super(&block)
end

Instance Attribute Details

#metadataObject (readonly)

Returns the value of attribute metadata.



79
80
81
# File 'lib/rspec/core/example.rb', line 79

def 
  @metadata
end