summaryrefslogtreecommitdiffstats
path: root/doc/object.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-06-28 23:43:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-06-28 23:43:45 (GMT)
commitb7039216edc04a41ff927d0a7db948edeb2a29a3 (patch)
treebaa90ba36ec39cba237292bc28ad5f7c73df897a /doc/object.n
parentdccac44164436d0d0cb0ca2765837a813ccd4d0c (diff)
downloadtcl-b7039216edc04a41ff927d0a7db948edeb2a29a3.zip
tcl-b7039216edc04a41ff927d0a7db948edeb2a29a3.tar.gz
tcl-b7039216edc04a41ff927d0a7db948edeb2a29a3.tar.bz2
Fix [Bug 2004480]
Diffstat (limited to 'doc/object.n')
-rw-r--r--doc/object.n6
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]"
}