Class: Thread

Inherits:
Object
  • Object
show all
Defined in:
lib/fsm.rb,
lib/fsm-0.0.0.rb

Instance Method Summary collapse

Instance Method Details

#joinableObject Also known as: joinable?


70
71
72
# File 'lib/fsm.rb', line 70

def joinable
  @joinable = false unless defined? @joinable
end

#joinable=(bool) ⇒ Object


74
75
76
# File 'lib/fsm.rb', line 74

def joinable= bool
  @joinable = bool ? true : false 
end