Sha256: 24ce928b8d3031c9b7ec84151c3f6ebdb6b76de6bf3e5d07aabb18c861ab5f83
Contents?: true
Size: 210 Bytes
Versions: 2
Compression:
Stored size: 210 Bytes
Contents
class Class def interface(*list) raise ArgumentError, "at least 1 interface needed" if list.empty? interfaces.push *list interfaces.uniq! end def interfaces @interfaces ||= [] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby2java-0.0.1 | lib/compilable/interface.rb |
ruby2java-0.0.2 | lib/compilable/interface.rb |