class Exa::Process
Public Class Methods
new(title)
click to toggle source
# File lib/exa.rb, line 7 def initialize(title) @title = title end
table()
click to toggle source
# File lib/exa.rb, line 25 def self.table @table ||= [] end
Public Instance Methods
register()
click to toggle source
# File lib/exa.rb, line 11 def register Process.table += [ self ] end
run!()
click to toggle source
# File lib/exa.rb, line 19 def run! register perform! unregister end
unregister()
click to toggle source
# File lib/exa.rb, line 15 def unregister Process.table -= [ self ] end