Sha256: ab4791bd0bb0b554a2f0bfc2b79df7075e81b72faa56e7de3e36e0c7496cc513
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 Bytes
Contents
module Duby::JVM::Types class BooleanType < PrimitiveType def init_value(builder) builder.iconst_0 end def prefix 'i' end def box(builder) box_type = Duby::AST::type(nil, 'java.lang.Boolean') builder.invokestatic box_type, "valueOf", [box_type, self] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mirah-0.0.4-java | lib/mirah/jvm/types/boolean.rb |