Class: RBI::Type::Void
Overview
‘void`.
Instance Method Summary collapse
-
#==(other) ⇒ Object
: (BasicObject other) -> bool.
-
#normalize ⇒ Object
: -> Type.
-
#simplify ⇒ Object
: -> Type.
-
#to_rbi ⇒ Object
: -> String.
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
216 217 218 |
# File 'lib/rbi/type.rb', line 216 def ==(other) Void === other end |
#normalize ⇒ Object
: -> Type
228 229 230 |
# File 'lib/rbi/type.rb', line 228 def normalize self end |
#simplify ⇒ Object
: -> Type
234 235 236 |
# File 'lib/rbi/type.rb', line 234 def simplify self end |
#to_rbi ⇒ Object
: -> String
222 223 224 |
# File 'lib/rbi/type.rb', line 222 def to_rbi "void" end |