diff options
Diffstat (limited to 'doc/object.n')
-rw-r--r-- | doc/object.n | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/object.n b/doc/object.n index 79038db..eec3219 100644 --- a/doc/object.n +++ b/doc/object.n @@ -1,10 +1,10 @@ '\" -'\" Copyright (c) 2007 Donal K. Fellows +'\" Copyright (c) 2007-2008 Donal K. Fellows '\" '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: object.n,v 1.1 2008/05/31 11:42:13 dkf Exp $ +'\" RCS: @(#) $Id: object.n,v 1.2 2008/06/28 23:43:45 dkf Exp $ '\" .so man.macros .TH object n 0.1 TclOO "TclOO Commands" @@ -80,7 +80,7 @@ This example demonstrates basic use of an object. .CS set obj [\fBoo::object\fR new] $obj foo \fI\(-> error "unknown method foo"\fR -oo::define $obj method foo {} { +oo::objdefine $obj method foo {} { my \fBvariable\fR count puts "bar[incr count]" } |