Class: FakeFaker::Hipster

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

Class Method Summary collapse

Class Method Details

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



4
5
6
# File 'lib/fake_faker/hipster.rb', line 4

def paragraph(sentence_count = nil, supplemental = nil, random_sentences_to_add = nil)
  ::Faker::Hipster.paragraph(sentence_count: sentence_count, supplemental: supplemental, random_sentences_to_add: random_sentences_to_add)
end

.paragraph_by_chars(chars = nil, supplemental = nil) ⇒ Object



8
9
10
# File 'lib/fake_faker/hipster.rb', line 8

def paragraph_by_chars(chars = nil, supplemental = nil)
  ::Faker::Hipster.paragraph_by_chars(characters: characters, supplemental: supplemental)
end

.paragraphs(paragraph_count = nil, supplemental = nil) ⇒ Object



12
13
14
# File 'lib/fake_faker/hipster.rb', line 12

def paragraphs(paragraph_count = nil, supplemental = nil)
  ::Faker::Hipster.paragraphs(number: number, supplemental: supplemental)
end

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



16
17
18
# File 'lib/fake_faker/hipster.rb', line 16

def sentence(word_count = nil, supplemental = nil, random_words_to_add = nil)
  ::Faker::Hipster.sentence(word_count: word_count, supplemental: supplemental, random_words_to_add: random_words_to_add)
end

.sentences(sentence_count = nil, supplemental = nil) ⇒ Object



20
21
22
# File 'lib/fake_faker/hipster.rb', line 20

def sentences(sentence_count = nil, supplemental = nil)
  ::Faker::Hipster.sentences(number: number, supplemental: supplemental)
end

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



24
25
26
# File 'lib/fake_faker/hipster.rb', line 24

def words(num = nil, supplemental = nil, spaces_allowed = nil)
  ::Faker::Hipster.words(number: number, supplemental: supplemental, spaces_allowed: spaces_allowed)
end