Class: Ruby::Rego::StringValue
Overview
Represents a string value.
Constant Summary collapse
- TYPE_NAME =
"string"
Instance Attribute Summary
Attributes inherited from Value
Instance Method Summary collapse
-
#initialize(value) ⇒ StringValue
constructor
Create a string value.
Methods inherited from Value
#==, #fetch_reference, from_ruby, #hash, #object_key, #to_ruby, #truthy?, #type_name, #undefined?
Constructor Details
#initialize(value) ⇒ StringValue
Create a string value.
141 142 143 |
# File 'lib/ruby/rego/value.rb', line 141 def initialize(value) super(String(value)) end |