Class: Ruby::Rego::AST::BracketRefArg
- Defined in:
- lib/ruby/rego/ast/reference.rb
Overview
Bracket-based reference argument (e.g. [0]).
Instance Attribute Summary
Attributes inherited from RefArg
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(value:, location: nil) ⇒ BracketRefArg
constructor
A new instance of BracketRefArg.
Methods inherited from Base
#==, #accept, #deconstruct_keys, #eql?, format_value, #hash, #to_s
Constructor Details
#initialize(value:, location: nil) ⇒ BracketRefArg
Returns a new instance of BracketRefArg.
52 53 54 |
# File 'lib/ruby/rego/ast/reference.rb', line 52 def initialize(value:, location: nil) super end |