Skip to content

Commit

Permalink
Allow delete to be chainable
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Jun 21, 2009
1 parent 47efaeb commit db2463c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/searchlogic/search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def conditions=(values)
# to that scope.
def delete(name)
@conditions.delete(name.to_sym)
self
end

private
Expand Down

0 comments on commit db2463c

Please sign in to comment.