Sha256: 1fe4007d9dfad707a3ac9e3eb409cc714a6c18a041363a9e0bdd5e4489aa418e

Contents?: true

Size: 164 Bytes

Versions: 4

Compression:

Stored size: 164 Bytes

Contents

module Git
  module Conform
    class NonAsciiCharacterChecker < FileChecker

      def conforms?
        super && content.ascii_only?
      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/non_ascii_character_checker.rb
git-conform-1.2.1 lib/git/conform/checkers/non_ascii_character_checker.rb
git-conform-1.1.0 lib/git/conform/checkers/non_ascii_character_checker.rb
git-conform-1.0.0 lib/git/conform/checkers/non_ascii_character_checker.rb