Class: RBI::Type::Anything

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

Overview

T.anything.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object

: (BasicObject other) -> bool



54
55
56
# File 'lib/rbi/type.rb', line 54

def ==(other)
  Anything === other
end

#normalizeObject

: -> Type



66
67
68
# File 'lib/rbi/type.rb', line 66

def normalize
  self
end

#simplifyObject

: -> Type



72
73
74
# File 'lib/rbi/type.rb', line 72

def simplify
  self
end

#to_rbiObject

: -> String



60
61
62
# File 'lib/rbi/type.rb', line 60

def to_rbi
  "::T.anything"
end