module FFaker::LoremJA
Public Instance Methods
Source
# File lib/ffaker/lorem_ja.rb, line 8 def character fetch_sample(CHARACTERS) end
Source
# File lib/ffaker/lorem_ja.rb, line 12 def characters(count = 20) fetch_sample(CHARACTERS, count: count).join end
Source
# File lib/ffaker/lorem_ja.rb, line 32 def paragraph(sentence_count = 3) "#{sentences(sentence_count).join('、')}、#{fetch_sample(SENTENCES_END)}。" end
Source
# File lib/ffaker/lorem_ja.rb, line 36 def paragraphs(count = 3) (1..count).map { paragraph } end
Source
# File lib/ffaker/lorem_ja.rb, line 28 def sentences(count = 3) (1..count).map { fetch_sample(SENTENCES) } end
Source
# File lib/ffaker/lorem_ja.rb, line 20 def words(count = 3) fetch_sample(WORDS, count: count) end