Method: JMadlibs#addList
- Defined in:
- lib/jmadlibs.rb
#addList(name, wordlist) ⇒ Object
39 40 41 42 43 |
# File 'lib/jmadlibs.rb', line 39 def addList(name, wordlist) if @library.nil? then @library = {} end log "Adding list '" + name + "'", "DEBUG" @library[name] = wordlist end |