Skip to content

Commit

Permalink
Clarify current_example
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Dec 8, 2020
1 parent 8118c0e commit 636c506
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/rspec/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,9 @@ def self.configure
# The example being executed.
#
# The primary audience for this method is library authors who need access
# to the example currently being executed and also want to support all
# versions of RSpec 2 and 3.
# to the example currently being executed.
#
# @example
# @example support for RSpec version 2
#
# RSpec.configure do |c|
# # context.example is deprecated, but RSpec.current_example is not
Expand Down

0 comments on commit 636c506

Please sign in to comment.