Class: Cerbos::Hub::Stores::Input::StringMatch::Equals
- Inherits:
-
Cerbos::Hub::Stores::Input::StringMatch
- Object
- Cerbos::Hub::Stores::Input::StringMatch
- Cerbos::Hub::Stores::Input::StringMatch::Equals
- Defined in:
- lib/cerbos/hub/stores/input/string_match.rb
Overview
Filter to match a string exactly.
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
The string to match.
Instance Method Summary collapse
-
#initialize(value:) ⇒ Equals
constructor
Specify a filter to match a string exactly.
Constructor Details
#initialize(value:) ⇒ Equals
Specify a filter to match a string exactly.
23 24 25 |
# File 'lib/cerbos/hub/stores/input/string_match.rb', line 23 def initialize(value:) @value = value end |
Instance Attribute Details
#value ⇒ String (readonly)
The string to match.
18 19 20 |
# File 'lib/cerbos/hub/stores/input/string_match.rb', line 18 def value @value end |