lib/errata.rb in errata-0.2.1 vs lib/errata.rb in errata-0.2.2
- old
+ new
@@ -48,14 +48,10 @@
def correct!(row)
corrections.each { |erratum| erratum.correct!(row) }
nil
end
-
- def implied_matching_methods
- (rejections + corrections).map { |erratum| erratum.matching_method }.compact.uniq
- end
-
+
def rejections
@_rejections ||= table.rows.map { |hash| hash.symbolize_keys!; ::Errata::Erratum::Reject.new(self, hash) if hash[:action] == 'reject' }.compact
end
def corrections