Class: PromptSanitizer::Engines::RegexEngine::Pattern
- Inherits:
-
Struct
- Object
- Struct
- PromptSanitizer::Engines::RegexEngine::Pattern
- Defined in:
- lib/prompt_sanitizer/engines/regex_engine.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
-
#regex ⇒ Object
Returns the value of attribute regex.
-
#validator ⇒ Object
Returns the value of attribute validator.
Instance Attribute Details
#confidence ⇒ Object
Returns the value of attribute confidence
14 15 16 |
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14 def confidence @confidence end |
#entity_type ⇒ Object
Returns the value of attribute entity_type
14 15 16 |
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14 def entity_type @entity_type end |
#regex ⇒ Object
Returns the value of attribute regex
14 15 16 |
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14 def regex @regex end |
#validator ⇒ Object
Returns the value of attribute validator
14 15 16 |
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14 def validator @validator end |