Class: Cerbos::Output::PlanResources::Expression::Variable
- Inherits:
-
Object
- Object
- Cerbos::Output::PlanResources::Expression::Variable
- Defined in:
- lib/cerbos/output/plan_resources.rb
Overview
An abstract syntax tree node representing a variable whose value was unknown when producing the query plan.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the variable.
Instance Attribute Details
#name ⇒ String (readonly)
The name of the variable.
120 121 122 123 124 125 126 127 128 129 |
# File 'lib/cerbos/output/plan_resources.rb', line 120 PlanResources::Expression::Variable = Output.new_class(:name) do # @!attribute [r] name # The name of the variable. # # @return [String] def self.from_protobuf(variable) new(name: variable) end end |