Class: Cerbos::Hub::Stores::Input::StringMatch::In
- Inherits:
-
Cerbos::Hub::Stores::Input::StringMatch
- Object
- Cerbos::Hub::Stores::Input::StringMatch
- Cerbos::Hub::Stores::Input::StringMatch::In
- Defined in:
- lib/cerbos/hub/stores/input/string_match.rb
Overview
Filter to match a string from a list.
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
readonly
The strings to match.
Instance Method Summary collapse
-
#initialize(values:) ⇒ In
constructor
Specify a filter to match a string from a list.
Constructor Details
#initialize(values:) ⇒ In
Specify a filter to match a string from a list.
63 64 65 |
# File 'lib/cerbos/hub/stores/input/string_match.rb', line 63 def initialize(values:) @values = values end |
Instance Attribute Details
#values ⇒ Array<String> (readonly)
The strings to match.
58 59 60 |
# File 'lib/cerbos/hub/stores/input/string_match.rb', line 58 def values @values end |