Class: RsegEngine::Engine
- Inherits:
-
Object
- Object
- RsegEngine::Engine
show all
- Defined in:
- lib/engines/engine.rb
Instance Method Summary
collapse
Constructor Details
#initialize ⇒ Engine
Returns a new instance of Engine.
3
4
5
|
# File 'lib/engines/engine.rb', line 3
def initialize
@running = true
end
|
Instance Method Details
#run ⇒ Object
11
12
13
|
# File 'lib/engines/engine.rb', line 11
def run
@running = true
end
|
#running? ⇒ Boolean
15
16
17
|
# File 'lib/engines/engine.rb', line 15
def running?
@running
end
|
#stop ⇒ Object
7
8
9
|
# File 'lib/engines/engine.rb', line 7
def stop
@running = false
end
|