Class
Faker::Lorem
In:
lib/faker/lorem.rb
Parent:
Base
Based on Perl‘s Text::Lorem
Methods
character
characters
paragraph
paragraphs
question
questions
sentence
sentences
word
words
Constants
CHARACTERS
=
('0'..'9').to_a + ('a'..'z').to_a
Public Class methods
character
()
characters
(char_count = 255)
paragraph
(sentence_count = 3, supplemental = false, random_sentences_to_add = 3)
paragraphs
(paragraph_count = 3, supplemental = false)
question
(word_count = 4, supplemental = false, random_words_to_add = 6)
questions
(question_count = 3, supplemental = false)
sentence
(word_count = 4, supplemental = false, random_words_to_add = 6)
sentences
(sentence_count = 3, supplemental = false)
word
()
words
(num = 3, supplemental = false)
[Validate]