lib/lev/errors.rb in lev-7.0.2 vs lib/lev/errors.rb in lev-7.0.3

- old
+ new

@@ -48,13 +48,17 @@ def has_offending_input?(input) self.any? {|error| [error.offending_inputs].flatten.include? input} end def raise_exception_if_any!(exception_type = StandardError) - raise exception_type, collect{|error| error.message}.join('; ') if any? + raise exception_type, map(&:message).join('; ') if any? end - protected + def full_messages + map(&:full_message) + end + + protected attr_reader :routine_status attr_reader :raise_fatal_errors def ignored_error_procs