Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better parameter name

  • Loading branch information...
commit 03a1a7dabebbdd152f62c0a7424b7eb11ded09b6 1 parent e8ab804
@jnunemaker jnunemaker authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/plucky/query.rb
View
4 lib/plucky/query.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.