Class: FakeFaker::Books::Lovecraft

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_faker/books/lovecraft.rb

Class Method Summary collapse

Class Method Details

.fhtagn(number_of = nil) ⇒ Object



5
6
7
# File 'lib/fake_faker/books/lovecraft.rb', line 5

def fhtagn(number_of = nil)
  ::Faker::Books::Lovecraft.fhtagn(number: number)
end

.paragraph(sentence_count = nil, random_sentences_to_add = nil) ⇒ Object



9
10
11
# File 'lib/fake_faker/books/lovecraft.rb', line 9

def paragraph(sentence_count = nil, random_sentences_to_add = nil)
  ::Faker::Books::Lovecraft.paragraph(sentence_count: sentence_count, random_sentences_to_add: random_sentences_to_add)
end

.paragraph_by_chars(chars = nil) ⇒ Object



13
14
15
# File 'lib/fake_faker/books/lovecraft.rb', line 13

def paragraph_by_chars(chars = nil)
  ::Faker::Books::Lovecraft.paragraph_by_chars(characters: characters)
end

.paragraphs(paragraph_count = nil) ⇒ Object



17
18
19
# File 'lib/fake_faker/books/lovecraft.rb', line 17

def paragraphs(paragraph_count = nil)
  ::Faker::Books::Lovecraft.paragraphs(number: number)
end

.sentence(word_count = nil, random_words_to_add = nil) ⇒ Object



21
22
23
# File 'lib/fake_faker/books/lovecraft.rb', line 21

def sentence(word_count = nil, random_words_to_add = nil)
  ::Faker::Books::Lovecraft.sentence(word_count: word_count, random_words_to_add: random_words_to_add)
end

.sentences(sentence_count = nil) ⇒ Object



25
26
27
# File 'lib/fake_faker/books/lovecraft.rb', line 25

def sentences(sentence_count = nil)
  ::Faker::Books::Lovecraft.sentences(number: number)
end

.words(num = nil, spaces_allowed = nil) ⇒ Object



29
30
31
# File 'lib/fake_faker/books/lovecraft.rb', line 29

def words(num = nil, spaces_allowed = nil)
  ::Faker::Books::Lovecraft.words(number: number, spaces_allowed: spaces_allowed)
end