summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-28 14:31:31 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-28 14:31:31 +0200
commit4080ccf3aa6b32d0279b00e6050a3af8a4018c45 (patch)
tree84f4382303935231bbad0d90b24b325e16f1aa4c
parentbbaec02e7b9eabdd2301ab4ed7cebef58ba02beb (diff)
downloadedoors-ruby-4080ccf3aa6b32d0279b00e6050a3af8a4018c45.zip
edoors-ruby-4080ccf3aa6b32d0279b00e6050a3af8a4018c45.tar.gz
Spin: #stop! -> #spin.stop_spinning!
-rw-r--r--lib/edoors/spin.rb2
-rw-r--r--spec/spin_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoors/spin.rb b/lib/edoors/spin.rb
index 7efacf1..ec86d9f 100644
--- a/lib/edoors/spin.rb
+++ b/lib/edoors/spin.rb
@@ -225,7 +225,7 @@ module Edoors
#
# stops the spinning
#
- def stop!
+ def stop_spinning!
@run=false
end
#
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb
index 9c2e2ea..78f7f87 100644
--- a/spec/spin_spec.rb
+++ b/spec/spin_spec.rb
@@ -70,7 +70,7 @@ describe Edoors::Spin do
spin.spin!
f.p.should be p0
f.sp.should be p1
- spin.stop!
+ spin.stop_spinning!
end
#
it "process_sys" do