Class: Cel::Bytes

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

Instance Attribute Summary

Attributes inherited from Literal

#type, #value

Instance Method Summary collapse

Methods inherited from Literal

#==, to_cel_type, #to_ruby_type

Constructor Details

#initialize(value) ⇒ Bytes

Returns a new instance of Bytes.



275
276
277
# File 'lib/cel/ast/elements.rb', line 275

def initialize(value)
  super(:bytes, value)
end

Instance Method Details

#to_aryObject



279
280
281
# File 'lib/cel/ast/elements.rb', line 279

def to_ary
  [self]
end