lib/Monkey/monkey.rb in MonkeyEngine-2.0.0 vs lib/Monkey/monkey.rb in MonkeyEngine-2.0.1
- old
+ new
@@ -29,11 +29,10 @@
protected
def initialize(monkey_symbol)
@monkey_symbol = monkey_symbol
@monkey_service = MonkeyEngine::MonkeyService.instance
- self
end
public
# Determines if the Monkey is alive.
@@ -74,10 +73,10 @@
# @return [Monkey, self]
#
def start
if alive?
raise MonkeyEngine::Exceptions::InvalidOperationException,
- "The monkey [#{@monkey_symbol}] thread is already started"
+ "The monkey [#{@monkey_symbol}] thread is already started"
end
initialize_thread
self
end