Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Slight Yardoc cleanup in ViolationSet.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuel committed Oct 28, 2011
1 parent d1ac374 commit 39faaae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/data_mapper/validation/violation_set.rb
Expand Up @@ -34,9 +34,9 @@ def clear
# does not apply to a specific field of the Resource.
#
# @param [Symbol, Violation] attribute_name_or_violation
# The name of the field that caused the error, or
# the Violation which describes the validation error
# @param [String, #call, Hash] message
# The name of the field that caused the violation, or
# the Violation which describes the validation violation
# @param [NilClass, String, #call, Hash] message
# The message to add.
#
# @see Violation#initialize
Expand Down Expand Up @@ -67,7 +67,7 @@ def full_messages
# Return validation violations for a particular attribute_name.
#
# @param [Symbol] attribute_name
# The name of the field you want an error for.
# The name of the field you want an violation for.
#
# @return [Array(Violation, String), NilClass]
# Array of Violations, if there are violations on +attribute_name+
Expand Down

0 comments on commit 39faaae

Please sign in to comment.