Method: TkTimer#cancel_on_exception=
- Defined in:
- lib/tk/timer.rb
#cancel_on_exception=(mode) ⇒ Object
241 242 243 244 245 246 247 248 249 250 |
# File 'lib/tk/timer.rb', line 241 def cancel_on_exception=(mode) if mode.kind_of?(Array) @cancel_on_exception = mode elsif mode @cancel_on_exception = DEFAULT_IGNORE_EXCEPTIONS else @cancel_on_exception = false end #self end |