Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 138 Bytes
java_import java.util.ArrayList
class MyArray < ArrayList
def size
0 # WHOA!!!!!
end
end
a = MyArray.new
a.add 1
p a.size #> 0