Class: Exa::Process
- Inherits:
-
Object
- Object
- Exa::Process
- Defined in:
- lib/exa.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(title) ⇒ Process
constructor
A new instance of Process.
- #register ⇒ Object
- #run! ⇒ Object
- #unregister ⇒ Object
Constructor Details
#initialize(title) ⇒ Process
Returns a new instance of Process.
7 8 9 |
# File 'lib/exa.rb', line 7 def initialize(title) @title = title end |
Class Method Details
.table ⇒ Object
25 26 27 |
# File 'lib/exa.rb', line 25 def self.table @table ||= [] end |
Instance Method Details
#run! ⇒ Object
19 20 21 22 23 |
# File 'lib/exa.rb', line 19 def run! register perform! unregister end |