[ruby-cvs:70544] nobu:r63453 (trunk): range.c: === by cover?

nobu at ruby-lang.org nobu at ruby-lang.org
Thu May 17 19:46:21 JST 2018


nobu	2018-05-17 19:46:21 +0900 (Thu, 17 May 2018)

  New Revision: 63453

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63453

  Log:
    range.c: === by cover?
    
    * range.c (range_eqq): switch `Range#===` to use `cover?` instead
      of `include?`.  [Feature #14575]

  Modified files:
    trunk/NEWS
    trunk/range.c
    trunk/spec/ruby/core/range/case_compare_spec.rb
    trunk/test/ruby/test_range.rb


More information about the ruby-cvs mailing list