Class: Ruby::Rego::AST::StringLiteral
- Defined in:
- lib/ruby/rego/ast/literal.rb
Overview
Represents a string literal.
Instance Attribute Summary
Attributes inherited from Literal
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(value:, location: nil) ⇒ StringLiteral
constructor
A new instance of StringLiteral.
Methods inherited from Base
#==, #accept, #deconstruct_keys, #eql?, format_value, #hash, #to_s
Constructor Details
#initialize(value:, location: nil) ⇒ StringLiteral
Returns a new instance of StringLiteral.
25 26 27 |
# File 'lib/ruby/rego/ast/literal.rb', line 25 def initialize(value:, location: nil) super end |