Module: T::Array
- Defined in:
- lib/types/_types.rb
Overview
Generic classes ###
Class Method Summary collapse
Class Method Details
.[](type) ⇒ Object
320 321 322 323 324 325 326 |
# File 'lib/types/_types.rb', line 320 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedArray::Untyped::Private::INSTANCE else T::Types::TypedArray::Private::Pool.type_for_module(type) end end |