Class: Fate
- Inherits:
-
Object
- Object
- Fate
- Defined in:
- lib/fate.rb,
lib/fate/repl.rb,
lib/fate/logger.rb,
lib/fate/output.rb,
lib/fate/service.rb,
lib/fate/process_manager.rb
Defined Under Namespace
Modules: Output Classes: Control, MultiLogger, ProcessManager, Service
Instance Attribute Summary collapse
-
#control ⇒ Object
readonly
Returns the value of attribute control.
-
#manager ⇒ Object
readonly
Returns the value of attribute manager.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(specification, options) ⇒ Fate
constructor
A new instance of Fate.
Constructor Details
Instance Attribute Details
#control ⇒ Object (readonly)
Returns the value of attribute control.
16 17 18 |
# File 'lib/fate.rb', line 16 def control @control end |
#manager ⇒ Object (readonly)
Returns the value of attribute manager.
16 17 18 |
# File 'lib/fate.rb', line 16 def manager @manager end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
16 17 18 |
# File 'lib/fate.rb', line 16 def service @service end |
Class Method Details
.start(specification, &block) ⇒ Object
12 13 14 |
# File 'lib/fate.rb', line 12 def self.start(specification, &block) self.new(specification).start(&block) end |