Module: RSpec::Core::Example::Procsy
- Defined in:
- lib/rspec/core/example.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
94 95 96 |
# File 'lib/rspec/core/example.rb', line 94 def @metadata end |
Class Method Details
.extended(object) ⇒ Object
96 97 98 |
# File 'lib/rspec/core/example.rb', line 96 def self.extended(object) def object.run; call; end end |
Instance Method Details
#with(metadata) ⇒ Object
100 101 102 103 |
# File 'lib/rspec/core/example.rb', line 100 def with() @metadata = self end |