class T::Types::TypedArray::Untyped

Public Class Methods

new() click to toggle source
Calls superclass method T::Types::TypedArray#new
# File lib/types/types/typed_array.rb, line 30
def initialize
  super(T.untyped)
end

Public Instance Methods

valid?(obj) click to toggle source
# File lib/types/types/typed_array.rb, line 34
def valid?(obj)
  obj.is_a?(Array)
end