Sha256: 2746922e508f5c0934294477dd06d30650f029eecf4571cc86debaa77f4846b5

Contents?: true

Size: 174 Bytes

Versions: 4

Compression:

Stored size: 174 Bytes

Contents

module Git
  module Conform
    class CarriageReturnCharacterChecker < FileChecker

      def conforms?
        super && !content.include?("\r")
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git-conform-1.3.0 lib/git/conform/checkers/carriage_return_character_checker.rb
git-conform-1.2.1 lib/git/conform/checkers/carriage_return_character_checker.rb
git-conform-1.1.0 lib/git/conform/checkers/carriage_return_character_checker.rb
git-conform-1.0.0 lib/git/conform/checkers/carriage_return_character_checker.rb