Method: RSpec::Core::Example#id
- Defined in:
- lib/rspec/core/example.rb
permalink #id ⇒ String
Returns the unique id of this example. Pass this at the command line to re-run this exact example.
117 118 119 |
# File 'lib/rspec/core/example.rb', line 117 def id @id ||= Metadata.id_from() end |