Class: Literal::Types::AnyType

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

#===(value) ⇒ Object



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

def ===(value) = !(nil === value)

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



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

def >=(other, context: nil) = !(other === nil)

#inspectObject



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

def inspect = "_Any"