Class: Chapter

Chapter

new Chapter(name)

A chapter is a collection of words which are associated to actions
Parameters:
Name Type Description
name String name of a chapter or empty to list all
Source:

Methods

add(word, fn, options)

Add new word to a chapter
Parameters:
Name Type Argument Description
word String
fn function
options Mixed <optional>
Source:

execute(word, options) → {Dictionary}

Directly execute a word
Parameters:
Name Type Description
word String
options Object
Source:
Returns:
the current dictionary
Type
Dictionary

list() → {Object}

Source:
Returns:
[description]
Type
Object