From ef7dba72f31611408a3994373a4257554c4a0d05 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 18 Aug 2015 12:47:01 +0000 Subject: [d06b029d9d] next(n) documentation examples correction, from Peter Lewerin. --- doc/next.n | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/next.n b/doc/next.n index 1ea6eb9..62782e5 100644 --- a/doc/next.n +++ b/doc/next.n @@ -122,7 +122,7 @@ oo::class create theSubclass { } } theSubclass create obj -oo::define obj method example args { +oo::objdefine obj method example args { puts "per-object method, args = $args" \fBnext\fR x {*}$args y \fBnext\fR @@ -176,7 +176,7 @@ oo::class create cache { } oo::object create demo -oo::define demo { +oo::objdefine demo { mixin cache method compute {a b c} { after 3000 \fI;# Simulate deep thought\fR -- cgit v0.12