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.



194
195
196
# File 'lib/cel/ast/elements.rb', line 194

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

Instance Method Details

#to_aryObject



198
199
200
# File 'lib/cel/ast/elements.rb', line 198

def to_ary
  [self]
end