Sha256: 39f1f25687a63d3c3cd521708a3aa4dff17eeaf6e9aca0d2e1abd982f739387d

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

class TestEql
  def self.main
    p "a".eql?("a")      # => true
    p "a".eql?(1)        # => false
    p "1".eql?(1)        # => false
    p [1,2].eql?([1,2])  # => true
    p 1.eql?("1")        # => false
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
superchris-rubyjs-0.8.2 test/test_eql.rb
rubyjs-0.7.1 test/test_eql.rb
rubyjs-0.8.0 test/test_eql.rb
rubyjs-0.7.0 test/test_eql.rb