Methods

Class Index [+]

Quicksearch

RSpec::Core::Example::Procsy

@private

Attributes

metadata[R]

Public Class Methods

extended(object) click to toggle source

@private @param [Proc] Adds a `run` method to the extended Proc, allowing it to be invoked in an [around](../Hooks#around-instance_method) hook using either `run` or `call`.

     # File lib/rspec/core/example.rb, line 132
132:         def self.extended(object)
133:           def object.run; call; end
134:         end

Public Instance Methods

with(metadata) click to toggle source

@private

     # File lib/rspec/core/example.rb, line 137
137:         def with(metadata)
138:           @metadata = metadata
139:           self
140:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.