Sha256: ff267061722e5ff4f514f418ebb217d3d4f9cb15b4cbd947edaa0cc05df79adc

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

class Errata
  class Erratum
    class Truncate < Erratum
      def necessary_and_sufficient_prefix
        options['x']
      end

      def correct!(row)
        if targets? row
          row[section] = necessary_and_sufficient_prefix.dup
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
errata-1.0.3 lib/errata/erratum/truncate.rb
errata-1.0.2 lib/errata/erratum/truncate.rb