Class: Unisec::CLI::Commands::Confusables::Randomize
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Unisec::CLI::Commands::Confusables::Randomize
- Defined in:
- lib/unisec/cli/confusables.rb
Overview
Command unisec confusables randomize
Example:
$ unisec confusables randomize noraj
Original: noraj
Transformed: ΥΌΰ»π³πΆπ
β¦
Instance Method Summary collapse
-
#call(str: nil) ⇒ Object
Replace all characters from a string with random confusables when possible.
Instance Method Details
#call(str: nil) ⇒ Object
Replace all characters from a string with random confusables when possible
56 57 58 |
# File 'lib/unisec/cli/confusables.rb', line 56 def call(str: nil, **) Unisec::Confusables.randomize_display(str) end |