Class: PromptSanitizer::Engines::RegexEngine::Pattern

Inherits:
Struct
  • Object
show all
Defined in:
lib/prompt_sanitizer/engines/regex_engine.rb

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



14
15
16
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14

def confidence
  @confidence
end

#entity_typeObject

Returns the value of attribute entity_type

Returns:

  • (Object)

    the current value of entity_type



14
15
16
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14

def entity_type
  @entity_type
end

#regexObject

Returns the value of attribute regex

Returns:

  • (Object)

    the current value of regex



14
15
16
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14

def regex
  @regex
end

#validatorObject

Returns the value of attribute validator

Returns:

  • (Object)

    the current value of validator



14
15
16
# File 'lib/prompt_sanitizer/engines/regex_engine.rb', line 14

def validator
  @validator
end