Class: RSpec::Event

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEvent

Returns a new instance of Event.

Parameters:

  • (Object)


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

def initialize: (**untyped) -> void

Instance Attribute Details

#actual_sleep_secondsNumeric? (readonly)

Returns the value of attribute actual_sleep_seconds.

Returns:

  • (Numeric, nil)


207
208
209
# File 'sig/rspec/rewind.rbs', line 207

def actual_sleep_seconds
  @actual_sleep_seconds
end

#attemptInteger (readonly)

Returns the value of attribute attempt.

Returns:

  • (Integer)


194
195
196
# File 'sig/rspec/rewind.rbs', line 194

def attempt
  @attempt
end

#attempt_durationsArray[Numeric]? (readonly)

Returns the value of attribute attempt_durations.

Returns:

  • (Array[Numeric], nil)


203
204
205
# File 'sig/rspec/rewind.rbs', line 203

def attempt_durations
  @attempt_durations
end

#budget_limitInteger? (readonly)

Returns the value of attribute budget_limit.

Returns:

  • (Integer, nil)


210
211
212
# File 'sig/rspec/rewind.rbs', line 210

def budget_limit
  @budget_limit
end

#budget_remainingInteger, ... (readonly)

Returns the value of attribute budget_remaining.

Returns:

  • (Integer, Float, nil)


212
213
214
# File 'sig/rspec/rewind.rbs', line 212

def budget_remaining
  @budget_remaining
end

#budget_usedInteger? (readonly)

Returns the value of attribute budget_used.

Returns:

  • (Integer, nil)


211
212
213
# File 'sig/rspec/rewind.rbs', line 211

def budget_used
  @budget_used
end

#decision_reasonSymbol? (readonly)

Returns the value of attribute decision_reason.

Returns:

  • (Symbol, nil)


190
191
192
# File 'sig/rspec/rewind.rbs', line 190

def decision_reason
  @decision_reason
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


192
193
194
# File 'sig/rspec/rewind.rbs', line 192

def description
  @description
end

#durationNumeric (readonly)

Returns the value of attribute duration.

Returns:

  • (Numeric)


201
202
203
# File 'sig/rspec/rewind.rbs', line 201

def duration
  @duration
end

#example_idString (readonly)

Returns the value of attribute example_id.

Returns:

  • (String)


191
192
193
# File 'sig/rspec/rewind.rbs', line 191

def example_id
  @example_id
end

#exception_backtrace_topString? (readonly)

Returns the value of attribute exception_backtrace_top.

Returns:

  • (String, nil)


199
200
201
# File 'sig/rspec/rewind.rbs', line 199

def exception_backtrace_top
  @exception_backtrace_top
end

#exception_classString? (readonly)

Returns the value of attribute exception_class.

Returns:

  • (String, nil)


197
198
199
# File 'sig/rspec/rewind.rbs', line 197

def exception_class
  @exception_class
end

#exception_messageString? (readonly)

Returns the value of attribute exception_message.

Returns:

  • (String, nil)


198
199
200
# File 'sig/rspec/rewind.rbs', line 198

def exception_message
  @exception_message
end

#failure_fingerprintString? (readonly)

Returns the value of attribute failure_fingerprint.

Returns:

  • (String, nil)


200
201
202
# File 'sig/rspec/rewind.rbs', line 200

def failure_fingerprint
  @failure_fingerprint
end

#first_failure_durationNumeric? (readonly)

Returns the value of attribute first_failure_duration.

Returns:

  • (Numeric, nil)


204
205
206
# File 'sig/rspec/rewind.rbs', line 204

def first_failure_duration
  @first_failure_duration
end

#locationString (readonly)

Returns the value of attribute location.

Returns:

  • (String)


193
194
195
# File 'sig/rspec/rewind.rbs', line 193

def location
  @location
end

#matched_retry_onString? (readonly)

Returns the value of attribute matched_retry_on.

Returns:

  • (String, nil)


213
214
215
# File 'sig/rspec/rewind.rbs', line 213

def matched_retry_on
  @matched_retry_on
end

#matched_skip_retry_onString? (readonly)

Returns the value of attribute matched_skip_retry_on.

Returns:

  • (String, nil)


214
215
216
# File 'sig/rspec/rewind.rbs', line 214

def matched_skip_retry_on
  @matched_skip_retry_on
end

#matcher_errorString? (readonly)

Returns the value of attribute matcher_error.

Returns:

  • (String, nil)


215
216
217
# File 'sig/rspec/rewind.rbs', line 215

def matcher_error
  @matcher_error
end

#max_attemptsInteger? (readonly)

Returns the value of attribute max_attempts.

Returns:

  • (Integer, nil)


196
197
198
# File 'sig/rspec/rewind.rbs', line 196

def max_attempts
  @max_attempts
end

#metadataHash[Symbol, untyped]? (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[Symbol, untyped], nil)


216
217
218
# File 'sig/rspec/rewind.rbs', line 216

def 
  @metadata
end

#retriesInteger (readonly)

Returns the value of attribute retries.

Returns:

  • (Integer)


195
196
197
# File 'sig/rspec/rewind.rbs', line 195

def retries
  @retries
end

#retry_reasonSymbol? (readonly)

Returns the value of attribute retry_reason.

Returns:

  • (Symbol, nil)


189
190
191
# File 'sig/rspec/rewind.rbs', line 189

def retry_reason
  @retry_reason
end

#scheduled_sleep_secondsNumeric? (readonly)

Returns the value of attribute scheduled_sleep_seconds.

Returns:

  • (Numeric, nil)


206
207
208
# File 'sig/rspec/rewind.rbs', line 206

def scheduled_sleep_seconds
  @scheduled_sleep_seconds
end

#schema_versionInteger (readonly)

Returns the value of attribute schema_version.

Returns:

  • (Integer)


187
188
189
# File 'sig/rspec/rewind.rbs', line 187

def schema_version
  @schema_version
end

#sleep_secondsNumeric (readonly)

Returns the value of attribute sleep_seconds.

Returns:

  • (Numeric)


205
206
207
# File 'sig/rspec/rewind.rbs', line 205

def sleep_seconds
  @sleep_seconds
end

#sleep_totalNumeric? (readonly)

Returns the value of attribute sleep_total.

Returns:

  • (Numeric, nil)


208
209
210
# File 'sig/rspec/rewind.rbs', line 208

def sleep_total
  @sleep_total
end

#statusSymbol (readonly)

Returns the value of attribute status.

Returns:

  • (Symbol)


188
189
190
# File 'sig/rspec/rewind.rbs', line 188

def status
  @status
end

#timestampString (readonly)

Returns the value of attribute timestamp.

Returns:

  • (String)


209
210
211
# File 'sig/rspec/rewind.rbs', line 209

def timestamp
  @timestamp
end

#total_durationNumeric? (readonly)

Returns the value of attribute total_duration.

Returns:

  • (Numeric, nil)


202
203
204
# File 'sig/rspec/rewind.rbs', line 202

def total_duration
  @total_duration
end

Instance Method Details

#to_hHash[Symbol, untyped]

Returns:

  • (Hash[Symbol, untyped])


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

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