summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-09 01:42:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-09 01:42:49 +0000
commited3139b79f557e1003ec4eb34bd702387cb057a9 (patch)
treec14fd936b0ab9d98a40d1eb7765b5b94807da2b3 /ext/tk/sample
parent5a80f0c530f267a5eeab9d8053784c581a4efa9c (diff)
tcltklib/sample2.rb: use attr_accessor [ci skip]
* ext/tk/sample/tcltklib/sample2.rb (Othello::BoardView::Square): use attr_accessor instead of attr with optional boolean argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-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 eab7086..7b9e4c2 100644
--- a/ext/tk/sample/tcltklib/sample2.rb
+++ b/ext/tk/sample/tcltklib/sample2.rb
@@ -191,7 +191,7 @@ class Othello
class Square
- attr :oval, TRUE
+ attr_accessor :oval
attr :row
attr :col