Class: SyncThread::Interrupted
- Inherits:
-
Struct
- Object
- Struct
- SyncThread::Interrupted
- Defined in:
- lib/lockstep/sync_thread.rb
Instance Method Summary collapse
- #finished? ⇒ Boolean
- #interrupted? ⇒ Boolean
- #interrupted_by?(source_or_message, message = nil, args = nil) ⇒ Boolean
Instance Method Details
#finished? ⇒ Boolean
81 |
# File 'lib/lockstep/sync_thread.rb', line 81 def finished?; false; end |
#interrupted? ⇒ Boolean
82 |
# File 'lib/lockstep/sync_thread.rb', line 82 def interrupted?; true; end |
#interrupted_by?(source_or_message, message = nil, args = nil) ⇒ Boolean
83 84 85 86 87 88 89 90 91 92 |
# File 'lib/lockstep/sync_thread.rb', line 83 def interrupted_by?(, =nil, args=nil) if args return false unless args === arguments end if return false unless === name return === source end return === name end |