lib/multiples/multiples_enumerator.rb in multiples-0.1.0 vs lib/multiples/multiples_enumerator.rb in multiples-0.1.1

- old
+ new

@@ -38,9 +38,14 @@ def current @base end + def reset! + @base = 0 + @phase = 0 + end + def each loop do send :next yield @base end