Class: Cel::Bytes
- Defined in:
- lib/cel/ast/elements.rb
Instance Attribute Summary
Attributes inherited from Literal
Instance Method Summary collapse
-
#initialize(value) ⇒ Bytes
constructor
A new instance of Bytes.
- #to_ary ⇒ Object
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_ary ⇒ Object
279 280 281 |
# File 'lib/cel/ast/elements.rb', line 279 def to_ary [self] end |