Project

General

Profile

Backport #3405

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

=begin 
  
  ~$ cat bug_===.rb 
  p RUBY_VERSION 
 
  class String 
    def === x 
      x == self 
    end 
  end 
 
  case '1' 
  when '1' 
    p 'has one' 
  end 
 
  ~$ ruby bug_===.rb 
  "1.9.1" 
  bug_===.rb:9:in `<main>': method `===' called on terminated object (0x000001008f9ba8) (NotImplementedError) 
 
  MacOs 10.6, ruby was build from sources as 64bit application 
 
 =end 
 

Back