Class: RBI::Type::Untyped

Inherits:
RBI::Type show all
Defined in:
lib/rbi/type.rb

Overview

‘T.untyped`.

Instance Method Summary collapse

Methods inherited from RBI::Type

all, any, anything, attached_class, boolean, class_of, #eql?, generic, #hash, #initialize, #nilable, nilable, #nilable?, #non_nilable, noreturn, parse_node, parse_string, proc, #rbs_string, self_type, shape, simple, t_class, #to_s, tuple, type_parameter, untyped, void

Constructor Details

This class inherits a constructor from RBI::Type

Instance Method Details

#==(other) ⇒ Object

: (BasicObject other) -> bool



189
190
191
# File 'lib/rbi/type.rb', line 189

def ==(other)
  Untyped === other
end

#normalizeObject

: -> Type



201
202
203
# File 'lib/rbi/type.rb', line 201

def normalize
  self
end

#simplifyObject

: -> Type



207
208
209
# File 'lib/rbi/type.rb', line 207

def simplify
  self
end

#to_rbiObject

: -> String



195
196
197
# File 'lib/rbi/type.rb', line 195

def to_rbi
  "T.untyped"
end