Class: UnicodeScriptDetector::SpoofDetector::ConfusableChar

Inherits:
Struct
  • Object
show all
Defined in:
lib/unicode_script_detector/spoof_detector.rb

Instance Attribute Summary collapse

Instance Attribute Details

#charObject

Returns the value of attribute char

Returns:

  • (Object)

    the current value of char



4
5
6
# File 'lib/unicode_script_detector/spoof_detector.rb', line 4

def char
  @char
end

#looks_likeObject

Returns the value of attribute looks_like

Returns:

  • (Object)

    the current value of looks_like



4
5
6
# File 'lib/unicode_script_detector/spoof_detector.rb', line 4

def looks_like
  @looks_like
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



4
5
6
# File 'lib/unicode_script_detector/spoof_detector.rb', line 4

def position
  @position
end

#scriptObject

Returns the value of attribute script

Returns:

  • (Object)

    the current value of script



4
5
6
# File 'lib/unicode_script_detector/spoof_detector.rb', line 4

def script
  @script
end