Skip to content

Commit

Permalink
Merge pull request #33087 from bogdanvlviv/document-CompareWithRange
Browse files Browse the repository at this point in the history
Add `ActiveSupport::CompareWithRange` to API docs
  • Loading branch information
rafaelfranca committed Jun 8, 2018
2 parents 9204c0c + b4ad3d8 commit a389283
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module ActiveSupport
module CompareWithRange #:nodoc:
module CompareWithRange
# Extends the default Range#=== to support range comparisons.
# (1..5) === (1..5) # => true
# (1..5) === (2..3) # => true
Expand Down

0 comments on commit a389283

Please sign in to comment.