Sha256: 20ae0b7300b616ababea7608c1ab63d6ec0b4ee0950ec4988d6b0e79b0116ffd

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

module PreCommit
  class WhiteSpaceChecker
    WHITESPACE_SCRIPT_PATH = File.join(File.dirname(__FILE__), "whitespace")

    def self.check
      system("sh #{WHITESPACE_SCRIPT_PATH}")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pre-commit-0.8.1 lib/support/whitespace/whitespace_checker.rb
pre-commit-0.8.0 lib/support/whitespace/whitespace_checker.rb
pre-commit-0.7.0 lib/support/whitespace/whitespace_checker.rb