Sha256: fad74d008dc3ff8a4104950ef02b2d0d7522c8b8f3f6f2fd94cb16c3ef6d61f2

Contents?: true

Size: 427 Bytes

Versions: 17

Compression:

Stored size: 427 Bytes

Contents

class Errata
  class Erratum
    class Reject < Erratum
      attr_accessor :matching_expression
      
      def initialize(errata, options = {})
        super
        set_matching_expression(options.merge(:prefix => true))
      end
      
      def inspect
        super + " matching_expression=#{matching_expression}"
      end
      
      def correct!
        raise "rejections don't correct"
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
seamusabshere-errata-0.1.0 lib/erratum/reject.rb
seamusabshere-errata-0.1.1 lib/erratum/reject.rb
seamusabshere-errata-0.1.2 lib/erratum/reject.rb
seamusabshere-errata-0.1.3 lib/erratum/reject.rb
seamusabshere-errata-0.1.4 lib/erratum/reject.rb
errata-0.2.4 lib/erratum/reject.rb
errata-ruby19-0.2.3 lib/erratum/reject.rb
errata-0.2.3 lib/erratum/reject.rb
errata-0.2.2 lib/erratum/reject.rb
errata-0.2.1 lib/erratum/reject.rb
errata-0.2.0 lib/erratum/reject.rb
errata-0.1.9 lib/erratum/reject.rb
errata-0.1.8 lib/erratum/reject.rb
errata-0.1.7 lib/erratum/reject.rb
errata-0.1.6 lib/erratum/reject.rb
errata-0.1.5 lib/erratum/reject.rb
errata-0.1.4 lib/erratum/reject.rb