Class: Cel::Null

Inherits:
Literal
  • Object
show all
Defined in:
lib/cel/ast/elements/null.rb

Constant Summary collapse

INSTANCE =
new.freeze

Instance Attribute Summary

Attributes inherited from Literal

#type, #value

Instance Method Summary collapse

Methods inherited from Literal

to_cel_type

Methods included from CelMethods

included

Constructor Details

#initializeNull

Returns a new instance of Null.



5
6
7
# File 'lib/cel/ast/elements/null.rb', line 5

def initialize
  super(:null_type, nil)
end