diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-09 01:42:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-09 01:42:49 +0000 |
commit | ed3139b79f557e1003ec4eb34bd702387cb057a9 (patch) | |
tree | c14fd936b0ab9d98a40d1eb7765b5b94807da2b3 /ext/tk | |
parent | 5a80f0c530f267a5eeab9d8053784c581a4efa9c (diff) | |
download | ruby-ed3139b79f557e1003ec4eb34bd702387cb057a9.tar.gz |
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')
-rw-r--r-- | ext/tk/sample/tcltklib/sample2.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tcltklib/sample2.rb b/ext/tk/sample/tcltklib/sample2.rb index eab7086ee4..7b9e4c2cca 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 |