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

Constructor Details

#initialize(value) ⇒ Bytes

Returns a new instance of Bytes.



263
264
265
# File 'lib/cel/ast/elements.rb', line 263

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

Instance Method Details

#to_aryObject



267
268
269
# File 'lib/cel/ast/elements.rb', line 267

def to_ary
  [self]
end