Class: Literal::Types::NeverType

Inherits:
Object
  • Object
show all
Includes:
Literal::Type
Defined in:
lib/literal/opal_compat.rb

Constant Summary collapse

Instance =
new

Instance Method Summary collapse

Instance Method Details

#<=(_other, context: nil) ⇒ Object



61
# File 'lib/literal/opal_compat.rb', line 61

def <=(_other, context: nil) = true

#===(_value) ⇒ Object



57
# File 'lib/literal/opal_compat.rb', line 57

def ===(_value) = false

#>=(other, context: nil) ⇒ Object



59
# File 'lib/literal/opal_compat.rb', line 59

def >=(other, context: nil) = Literal::Types::NeverType === other

#inspectObject



55
# File 'lib/literal/opal_compat.rb', line 55

def inspect = "_Never"