Sha256: 7aa2dc83e728f0171e5ca152ca1b210b30cb86acac35ab37a551dd59bfd08d8c
Contents?: true
Size: 248 Bytes
Versions: 2
Compression:
Stored size: 248 Bytes
Contents
import 'java.util.ArrayList' class Bar def initialize @a = ArrayList 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 & 1 rubygems
Version | Path |
---|---|
duby-0.0.2-java | examples/fields.duby |
duby-0.0.1 | examples/fields.duby |