From bab7ee4fcb8dc718b89c9847f9e145af9c708a0a Mon Sep 17 00:00:00 2001 From: Rachel Mant Date: Wed, 2 Apr 2014 20:17:33 +0100 Subject: [PATCH] Found my new heuristic was still not being used because heuristics had been switched off --- lib/linguist/heuristics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/heuristics.rb b/lib/linguist/heuristics.rb index 3912ac5c..75ce74f2 100644 --- a/lib/linguist/heuristics.rb +++ b/lib/linguist/heuristics.rb @@ -1,7 +1,7 @@ module Linguist # A collection of simple heuristics that can be used to better analyze languages. class Heuristics - ACTIVE = false + ACTIVE = true # Public: Given an array of String language names, # apply heuristics against the given data and return an array