Class: RSpec::ExampleContext

Inherits:
Object
  • Object
show all
Defined in:
sig/rspec/rewind.rbs

Instance Method Summary collapse

Constructor Details

#initializeExampleContext

Returns a new instance of ExampleContext.

Parameters:

  • example: (Object)


223
# File 'sig/rspec/rewind.rbs', line 223

def initialize: (example: untyped) -> void

Instance Method Details

#idString

Returns:

  • (String)


226
# File 'sig/rspec/rewind.rbs', line 226

def id: () -> String

#metadataHash[Symbol, untyped]

Returns:

  • (Hash[Symbol, untyped])


225
# File 'sig/rspec/rewind.rbs', line 225

def metadata: () -> Hash[Symbol, untyped]

#sourceObject

Returns:

  • (Object)


224
# File 'sig/rspec/rewind.rbs', line 224

def source: () -> untyped