blob: 285080ec3bdd32dc9360c918f7355c1702636208 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "Kernel#itself" do
it "returns the receiver itself" do
foo = Object.new
foo.itself.should equal foo
foo.itself.object_id.should equal foo.object_id
end
end
|