From 4080ccf3aa6b32d0279b00e6050a3af8a4018c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 28 Jun 2012 14:31:31 +0200 Subject: Spin: #stop! -> #spin.stop_spinning! --- lib/edoors/spin.rb | 2 +- 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 -- cgit v1.1-2-g2b99