Method: Othello::BoardView#clear
- Defined in:
- sample/tcltklib/sample2.rb
#clear ⇒ Object
265 266 267 268 269 270 271 272 |
# File 'sample/tcltklib/sample2.rb', line 265 def clear each_square do |square| if square.oval != nil self.e("delete", square.oval) square.oval = nil end end end |