Faker Elixir (octopus) v1.0.2 FakerElixir.Lorem

Generate fake data for the domain lorem

Summary

Functions

Return an alpha numeric character

Return some alpha numeric characters

Return x number of alpha numeric characters within the range given or number given

Return a sentence

Return some sentences

Return x sentences within the range given or number given

Return a word

Return some words

Return x number of words within the range given or number given

Functions

character()

Return an alpha numeric character

Examples

iex> FakerElixir.Lorem.character
"c"
characters()

Return some alpha numeric characters

Examples

iex> FakerElixir.Lorem.characters
"0ycp0x"
characters(range)

Return x number of alpha numeric characters within the range given or number given

Examples

iex> FakerElixir.Lorem.characters(10..30)
"rhch0bceu38240vds"
iex> FakerElixir.Lorem.characters(10)
"tw3aw6n3ez"
sentence()

Return a sentence

Examples

iex> FakerElixir.Lorem.sentence
"Qui maiores quaerat iusto quod in totam consequatur perspiciatis necessitatibus vitae ut aut earum voluptas."
sentences()

Return some sentences

Examples

iex> FakerElixir.Lorem.sentences
"Aspernatur illo dicta quia ut qui nihil distinctio debitis est laudantium ut ipsa facilis dolorum. Sed omnis natus ut officia magnam aut ut vel aperiam."
sentences(range)

Return x sentences within the range given or number given

Examples

iex> FakerElixir.Lorem.sentences(3..5)
"Culpa velit labore tenetur quia ipsum ullam dolore ut et commodi. Fuga quia dolore nihil non laudantium molestias nemo voluptas ea voluptatum aut aspernatur voluptatem. Repellendus illo dolorem incidunt quasi possimus quam quae alias recusandae unde aliquam optio rem velit sint eum. Quo aliquid itaque ratione eum blanditiis commodi explicabo perspiciatis nesciunt pariatur dolor eius voluptas."
iex> FakerElixir.Lorem.sentences(2)
"Qui omnis distinctio optio quisquam non optio id sequi assumenda corrupti distinctio et et inventore libero mollitia et. Cum doloremque sapiente mollitia nulla harum pariatur natus voluptates maxime consequuntur sunt commodi blanditiis ut nam."
word()

Return a word

Examples

iex> FakerElixir.Lorem.word
"et"
words()

Return some words

Examples

iex> FakerElixir.Lorem.words
"pariatur ea eos quibusdam velit debitis et"
words(range)

Return x number of words within the range given or number given

Examples

iex> FakerElixir.Lorem.words(2..4)
"laudantium rem saepe qui"
iex> FakerElixir.Lorem.words(3)
"sapiente optio dolor"