blob: 0c6bc1eda5874a1c502d93e0587c3eeaa56f897b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require_relative '../../spec_helper'
describe "Symbol#===" do
it "returns true when the argument is a Symbol" do
(Symbol === :ruby).should == true
end
it "returns false when the argument is a String" do
(Symbol === 'ruby').should == false
end
end
|