Module: Wake::EventHandler::Unix
- Defined in:
- lib/wake/event_handlers/unix.rb
Class Attribute Summary collapse
-
.defaults ⇒ Object
readonly
Returns the value of attribute defaults.
Class Method Summary collapse
Class Attribute Details
.defaults ⇒ Object (readonly)
Returns the value of attribute defaults.
8 9 10 |
# File 'lib/wake/event_handlers/unix.rb', line 8 def defaults @defaults end |
Class Method Details
.default ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/wake/event_handlers/unix.rb', line 10 def default defaults.empty? && begin; require( 'wake/event_handlers/rev' ); rescue LoadError => e; end defaults.empty? && begin require( 'wake/event_handlers/portable' ); defaults << Wake::EventHandler::Portable; end defaults[0] end |