Joel VanderWerf
1/29/2009 10:38:00 PM
Tsunami Scripter wrote:
> so I can add handlers in a DSL-like way . Here is a sample of code in
> action :
>
> add_handler do
> command=("get")
This is interpreted as local variable assignment. You can use the
following syntaxes instead:
self.command = "get"
or (defining #command differently)
command "get"
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407