Class: PromptSanitizer::Engines::SecretsEngine::Pattern

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

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



10
11
12
# File 'lib/prompt_sanitizer/engines/secrets_engine.rb', line 10

def confidence
  @confidence
end

#entity_typeObject

Returns the value of attribute entity_type

Returns:

  • (Object)

    the current value of entity_type



10
11
12
# File 'lib/prompt_sanitizer/engines/secrets_engine.rb', line 10

def entity_type
  @entity_type
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



10
11
12
# File 'lib/prompt_sanitizer/engines/secrets_engine.rb', line 10

def label
  @label
end

#regexObject

Returns the value of attribute regex

Returns:

  • (Object)

    the current value of regex



10
11
12
# File 'lib/prompt_sanitizer/engines/secrets_engine.rb', line 10

def regex
  @regex
end