class Crazipsum::Dictionnary
Dictionnary
is a simple struct with a words
and fillers
read-only attributes. It is used to initialize the Generator
instance.
Attributes
fillers[R]
words[R]
Public Class Methods
new(words, fillers: [])
click to toggle source
# File lib/crazipsum/dictionnary.rb, line 10 def initialize(words, fillers: []) @words = words @fillers = fillers end