module FFaker::LoremIE
Public Instance Methods
Source
# File lib/ffaker/lorem_ie.rb, line 28 def paragraph fetch_sample(PARAGRAPHS) end
Source
# File lib/ffaker/lorem_ie.rb, line 32 def paragraphs(paragraph_count = 3) (1..paragraph_count).map { paragraph } end
Source
# File lib/ffaker/lorem_ie.rb, line 16 def sentence fetch_sample(SENTENCES) end
Also aliased as: phrase
Source
# File lib/ffaker/lorem_ie.rb, line 22 def sentences(sentence_count = 3) (1..sentence_count).map { fetch_sample(SENTENCES) } end
Also aliased as: phrases
Source
# File lib/ffaker/lorem_ie.rb, line 12 def words(num = 3) fetch_sample(WORDS, count: num) end