fork download
  1. puts :algo == :algo
  2. puts :algo.equal? :algo
  3.  
  4. puts 'algo' == 'algo'
  5. puts 'algo'.equal? 'algo'
  6.  
  7. puts :algo == 'algo'
  8. puts :algo.to_s == 'algo'.to_s
Success #stdin #stdout 0.01s 7456KB
stdin
Standard input is empty
stdout
true
true
true
false
false
true