random_gib v0.0.7 RandomGib.Get
Summary
Functions
Generates a new seed
Gets a single random item from a list
Gets a string of characters with length count
, drawing from the
bitstring valid_characters
, which defaults to a-z, A-Z and a bunch of
special characters
Gets some random letters of a given count
.
Returns a string
Gets some subset of a given source list or bitstring string
Starts a worker server with a new seed
Functions
Generates a new seed.
Examples
iex> RandomGib.generate_seed() :ok
Gets a string of characters with length count
, drawing from the
bitstring valid_characters
, which defaults to a-z, A-Z and a bunch of
special characters.
Examples
result = RandomGib.Get.some_characters(5)
result = RandomGib.Get.some_characters(5, “abcdefgh*^&%”)
Specs
some_letters(pos_integer) :: String.t
Gets some random letters of a given count
.
Returns a string.
Examples
result = RandomGib.some_letters(5)