Permalink
Browse files

Return value in docs for criteria hash value normilizer.

  • Loading branch information...
1 parent b299d8d commit 56a3e551aff3d73cda2d53cd5c63cd68caf7e351 @jnunemaker jnunemaker committed Oct 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/plucky/normalizers/criteria_hash_value.rb
@@ -15,6 +15,8 @@ def initialize(criteria_hash)
# parent_key - The parent key if nested, otherwise same as key
# key - The key we are currently normalizing
# value - The value that should be normalized
+ #
+ # Returns value normalized for Mongo
def call(parent_key, key, value)
case value
when Array, Set

0 comments on commit 56a3e55

Please sign in to comment.