Method: Hoodoo::Errors#has_errors?
- Defined in:
- lib/hoodoo/errors/errors.rb
#has_errors? ⇒ Boolean
Does this instance have any errors added? Returns true
if so, else false
.
220 221 222 |
# File 'lib/hoodoo/errors/errors.rb', line 220 def has_errors? ! @errors.empty? end |