Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 1.5.0.RC3
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.299 kB
require 'test/minirunit'
test_check "Test Expressions:"
test_exception(NameError) { @@a }
@@a ||= 'one'
test_equal('one', @@a)
@@a ||= 'two'
test_equal('one', @@a)
@b ||= 'one'
test_equal('one', @b)
@b ||= 'two'
test_equal('one', @b)
def foo=(arg)
"bar"
end
test_equal("baz", self.foo = "baz")
Jump to Line
Something went wrong with that request. Please try again.