Method: NotifySet#remove
- Defined in:
- lib/notifyhub.rb
#remove(notify = nil) ⇒ Object
Remove all or one Notify.
282 283 284 285 286 287 288 |
# File 'lib/notifyhub.rb', line 282 def remove( notify = nil ) if notify @list.delete( notify ) else @list = [] end end |