Skip to content

Commit

Permalink
cleanup whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsdeleo committed Mar 30, 2010
1 parent 5dad0f4 commit fa9c498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chef/lib/chef/mixin/params_validate.rb
Expand Up @@ -155,11 +155,11 @@ def _pv_respond_to(opts, key, method_name_list)
end
end
end

# Assert that parameter returns false when passed a predicate method.
# For example, :cannot_be => :blank will raise a ValidationFailed
# error value.blank? returns a 'truthy' (not nil or false) value.
#
#
# Note, this will *PASS* if the object doesn't respond to the method.
# So, to make sure a value is not nil and not blank, you need to do
# both :cannot_be => :blank *and* :cannot_be => :nil (or :required => true)
Expand Down

0 comments on commit fa9c498

Please sign in to comment.