Sha256: ec5c98fe281efecb819a5a2c36396d712f4305d0ff946a51ae8a54cc436c5ed8
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 Bytes
Contents
import 'java.util.ArrayList' class Bar def initialize @a = ArrayList(nil) end def list(a:ArrayList) @a = a end def foo puts @a end end b = Bar.new list = ArrayList.new list.add('hello') list.add('world') b.list(list) b.foo
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
mirah-0.0.4-java | examples/fields.mirah |
duby-0.0.3-java | examples/fields.duby |