From c09cea5e1ba4e6d103fad9e6c6cbf29560abf78b Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 20 Jul 2006 17:36:36 +0000 Subject: * object.c (rb_mod_attr): make Module#attr to be an alias to attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/sample/tcltklib/sample2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/tk/sample/tcltklib') diff --git a/ext/tk/sample/tcltklib/sample2.rb b/ext/tk/sample/tcltklib/sample2.rb index 444bb1eef7..110e81ebc4 100644 --- a/ext/tk/sample/tcltklib/sample2.rb +++ b/ext/tk/sample/tcltklib/sample2.rb @@ -41,7 +41,7 @@ class Othello [ 1, -1], [ 1, 0], [ 1, 1] ] - attr :com_disk, TRUE + attr_accessor :com_disk def initialize(othello) @othello = othello -- cgit v1.2.3