Permalink
Browse files

Better parameter name

  • Loading branch information...
1 parent e8ab804 commit 03a1a7dabebbdd152f62c0a7424b7eb11ded09b6 @jnunemaker jnunemaker committed Oct 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/plucky/query.rb
View
@@ -20,9 +20,9 @@ class Query
def_delegator :options, :fields?
def_delegators :to_a, :include?
- def initialize(collection, opts={})
+ def initialize(collection, query_options = {})
@collection, @options, @criteria = collection, OptionsHash.new, CriteriaHash.new
- opts.each { |key, value| self[key] = value }
+ query_options.each { |key, value| self[key] = value }
end
def initialize_copy(source)

0 comments on commit 03a1a7d

Please sign in to comment.