summaryrefslogtreecommitdiffstats
path: root/ext/tk
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-20 17:36:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-20 17:36:36 +0000
commitd596fadb735af6d4956d003a87be46d5c934d1c9 (patch)
treef23af24cc3d193da3cc59197e065e2b986e8bb5d /ext/tk
parent517fc96672a0c8c582219184d7157afbf543ffef (diff)
downloadruby-d596fadb735af6d4956d003a87be46d5c934d1c9.tar.gz
ruby-d596fadb735af6d4956d003a87be46d5c934d1c9.tar.xz
ruby-d596fadb735af6d4956d003a87be46d5c934d1c9.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/sample/tcltklib/sample2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tcltklib/sample2.rb b/ext/tk/sample/tcltklib/sample2.rb
index 444bb1eef..110e81ebc 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