Sha256: 83f2da4895600a5deedc1fcb826314b4e858ef73846e3d66dc8b26f979eafcdb
Contents?: true
Size: 458 Bytes
Versions: 83
Compression:
Stored size: 458 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Symbol#==" do it "only returns true when the other is exactly the same symbol" do (:ruby == :ruby).should == true (:ruby == :"ruby").should == true (:ruby == :'ruby').should == true (:@ruby == :@ruby).should == true (:ruby == :@ruby).should == false (:foo == :bar).should == false (:ruby == 'ruby').should == false end end
Version data entries
83 entries across 83 versions & 1 rubygems