Class Command
In: lib/command.rb
lib/command.rb
Parent: Object
Command
TopLevel

The Command class encapsulates a TeensyMud command

Methods

load   load   new   new   options   options  

Attributes

cmd  [R] 
cmd  [R] 
help  [R] 
help  [R] 
name  [R] 
name  [R] 

Public Class methods

load builds a command lookup trie from the commands listed in a yaml config file and in the and then defines/redefines them on the GameObject classes.

return
A trie of commands (see TernaryTrie class)

load builds a command lookup trie from the commands listed in a yaml config file and in the and then defines/redefines them on the GameObject classes.

return
A trie of commands (see TernaryTrie class)

Create a command

Create a command

We need options at class level

We need options at class level

[Validate]