Class: Blight::ListensForQuitters
- Inherits:
-
Object
- Object
- Blight::ListensForQuitters
- Defined in:
- lib/blight.rb
Instance Method Summary collapse
Instance Method Details
#listen(event, window) ⇒ Object
113 114 115 |
# File 'lib/blight.rb', line 113 def listen(event, window) window.close if event[:value] == 'q' end |