Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/unicode/confusable/string_ext.rb

Instance Method Summary collapse

Instance Method Details

#confusable?(other) ⇒ Boolean

Optional core extension for your convenience

Returns:

  • (Boolean)


5
6
7
# File 'lib/unicode/confusable/string_ext.rb', line 5

def confusable?(other)
  Unicode::Confusable.compare(self, other)
end