README.txt in chars-0.1.1 vs README.txt in chars-0.1.2

- old
+ new

@@ -25,17 +25,20 @@ '[', ']', '{', '}', '.', '?', '!') * Symbols (' ', '\'', '"', '`', ',', ';', ':', '~', '-', '(', ')', '[', ']', '{', '}', '.', '?', '!', '@', '#', '$', '%', '^', '&', '*', '_', '+', '=', '|', '\\', '<', '>', '/') * Space (' ', '\f', '\n', '\r', '\t', '\v') + * Visible ('0' - '9', 'a' - 'z', 'A' - 'Z', '\'', '"', '`', ',', + ';', ':', '~', '-', '(', ')', '[', ']', '{', '}', '.', '?', '!', '@', + '#', '$', '%', '^', '&', '*', '_', '+', '=', '|', '\\', '<', '>', '/',) * Printable ('0' - '9', 'a' - 'z', 'A' - 'Z', ' ', '\'', '"', '`', ',', ';', ':', '~', '-', '(', ')', '[', ']', '{', '}', '.', '?', '!', '@', '#', '$', '%', '^', '&', '*', '_', '+', '=', '|', '\\', '<', '>', '/', '\f', '\n', '\r', '\t', '\v') * Control ('\x00' - '\x1f', '\x7f') - * ASCII ('\x00' - '\x7f') - * All ('\x00' - '\xff') + * Signed ASCII ('\x00' - '\x7f') + * ASCII ('\x00' - '\xff') == EXAMPLES: * Determine whether a byte belongs to a character set: @@ -58,11 +61,15 @@ Chars.all.random_char # => "\x94" * Return a random Array of characters from the alpha-numeric character set: - Chars.alpha_numeric.random_array(10) + Chars.alpha_numeric.random_chars(10) # => ["Q", "N", "S", "4", "x", "z", "3", "M", "F", "F"] + +* Return a random Array of a random length of unique characters from the visible character set: + Chars.visible.random_distinct_chars(1..10) + # => ["S", "l", "o", "8", "'", "q"] * Return a random String from the set of all characters: Chars.all.random_string(10) # => "\xc2h\xad\xccm7\x1e6J\x13"