lib/memento/result.rb in memento-0.4.1 vs lib/memento/result.rb in memento-0.4.2

- old
+ new

@@ -1,12 +1,12 @@ module Memento class ResultArray < Array def errors - self.find_all{ |result| result.failed? } + find_all{ |result| result.failed? } end def failed? - self.any?{ |result| result.failed? } + any?{ |result| result.failed? } end def success? !failed? end \ No newline at end of file