Sha256: acc7590b0d23aef0af5d51e0c1dc59d32aed84f12000ab6f9a038ecdd20106ab

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

module Mirah
  module JVM
    module Types
      class VoidType < PrimitiveType
        def initialize(types)
          super(types, 'void', Java::JavaLang::Void)
        end

        def void?
          true
        end

        def return(builder)
          builder.returnvoid
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mirah-0.1.2-java lib/mirah/jvm/types/void_type.rb
mirah-0.1.1-java lib/mirah/jvm/types/void_type.rb
mirah-0.1.0-java lib/mirah/jvm/types/void_type.rb
mirah-0.1.0.pre-java lib/mirah/jvm/types/void_type.rb