Class: Squash::Java::Primitive

Inherits:
Type
  • Object
show all
Defined in:
lib/squash/java/namespace.rb

Overview

Represents a primitive Java type, like ‘int` or `float`.

Instance Attribute Summary

Attributes inherited from Type

#name

Instance Method Summary collapse

Methods inherited from Type

#full_name, #inspect

Constructor Details

#initialize(name) ⇒ Primitive

Returns a new instance of Primitive.



458
459
460
# File 'lib/squash/java/namespace.rb', line 458

def initialize(name)
  @name = name
end