Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.259 kB
assert "42", "$foo = 42; alias $bar $foo; p $bar"
assert "nil", "alias $bar $foo; p $bar"
assert "42", "def foo; 42; end; alias :bar :foo; p bar"
# Mocha TODO
assert "true", %{
class X
def foo; end
alias bar foo
end
p X.method_defined?(:bar)
}
Jump to Line
Something went wrong with that request. Please try again.