Method: Rex::Text.rand_char

Defined in:
lib/rex/text.rb

.rand_char(bad, chars = AllChars) ⇒ Object

Generates a random character.



1203
1204
1205
# File 'lib/rex/text.rb', line 1203

def self.rand_char(bad, chars = AllChars)
  rand_text(1, bad, chars)
end