- try to clarify 'one of these things'

This commit is contained in:
Jordan Sissel 2013-01-02 14:54:26 -08:00
parent c745c1b2c3
commit 44245ff869

View file

@ -34,7 +34,7 @@ This is what it might look like in your config file:
<% sorted_attributes.each do |name, config|
next if config[:deprecated]
if config[:validate].is_a?(Array)
annotation = "#{config[:validate].inspect}"
annotation = "string, one of #{config[:validate].inspect}"
else
annotation = "#{config[:validate]}"
end