Class: RBI::Type::Void

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

Overview

void.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object

: (BasicObject other) -> bool



216
217
218
# File 'lib/rbi/type.rb', line 216

def ==(other)
  Void === other
end

#normalizeObject

: -> Type



228
229
230
# File 'lib/rbi/type.rb', line 228

def normalize
  self
end

#simplifyObject

: -> Type



234
235
236
# File 'lib/rbi/type.rb', line 234

def simplify
  self
end

#to_rbiObject

: -> String



222
223
224
# File 'lib/rbi/type.rb', line 222

def to_rbi
  "void"
end