diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-28 14:31:31 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-28 14:31:31 +0200 |
commit | 4080ccf3aa6b32d0279b00e6050a3af8a4018c45 (patch) | |
tree | 84f4382303935231bbad0d90b24b325e16f1aa4c | |
parent | bbaec02e7b9eabdd2301ab4ed7cebef58ba02beb (diff) | |
download | edoors-ruby-4080ccf3aa6b32d0279b00e6050a3af8a4018c45.zip edoors-ruby-4080ccf3aa6b32d0279b00e6050a3af8a4018c45.tar.gz |
Spin: #stop! -> #spin.stop_spinning!
-rw-r--r-- | lib/edoors/spin.rb | 2 | ||||
-rw-r--r-- | spec/spin_spec.rb | 2 |
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 |