module Crazipsum

Ever wanted some dumber, crazier (fancier?) lorem ipsum? Here you go!

Constants

VERSION

Public Instance Methods

register(type, words, fillers: DEFAULT_FILLERS) click to toggle source

Registers a new type of Dictionnary that can later be retrieved with Crazipsum().

@param [String,Symbol] type a name for that dictionnary. This type will be

used later when calling `Crazipsum(type)`.

@param [Array<String>] words a list of words used when generating the lorem ipsum. @param [Array<String>] fillers a list of words used to fill in the sentences when generating the lorem ipsum.

# File lib/crazipsum.rb, line 19
def register(type, words, fillers: DEFAULT_FILLERS)
  Crazipsum::Registry.instance.register(type, words, fillers: fillers)
end