class RLTK::CG::ArrayType

A Type describing an array that holds objects of a single given type.

Public Instance Methods

length()
Alias for: size
size() click to toggle source

@return [Integer] Number of elements in this array type.

# File lib/rltk/cg/type.rb, line 305
def size
        @length ||= Bindings.get_array_length(@ptr)
end
Also aliased as: length