Class: Socket
- Inherits:
-
Object
- Object
- Socket
- Defined in:
- lib/gpsd.rb
Instance Method Summary collapse
Instance Method Details
#ready? ⇒ Boolean
9 10 11 |
# File 'lib/gpsd.rb', line 9 def ready? not IO.select([self], nil, nil, 0) == nil end |