README.markdown in hybridgroup-sphero-1.1.0 vs README.markdown in hybridgroup-sphero-1.1.1
- old
+ new
@@ -24,15 +24,17 @@
# Turn 360 degrees, 30 degrees at a time
0.step(360, 30) { |h|
h = 0 if h == 360
- # Set the heading to h degrees
- heading = h
- keep_going 1
+ # Set the heading to h degrees
+ heading = h
+ keep_going 1
}
+
keep_going 1
stop
+end
```
Here is a another way to do the same thing via just normal method calls:
```ruby