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