Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ooops, no need to clear options.

  • Loading branch information...
commit 920d1d45c4f33aaf9b0f08512b82fc70243d07bf 1 parent a01f52a
@dblock authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/garb/model.rb
View
3  lib/garb/model.rb
@@ -47,7 +47,6 @@ def results(profile, options = {})
def all(profile, options = {}, &block)
limit = options.delete(:limit)
total = 0
- options = {}
while ((rs = results(profile, options)) && rs.any?)
rs.each do |r|
yield r
@@ -101,4 +100,4 @@ def format_time(t)
t.strftime('%Y-%m-%d')
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.