Sha256: faea756122919ad6b271d3cad3e0e43aecccef394c9962d7967780d80f3defa0
Contents?: true
Size: 221 Bytes
Versions: 19
Compression:
Stored size: 221 Bytes
Contents
module Linguist module Strategy # Detects language based on filename class Filename def self.call(blob, _) name = blob.name.to_s Language.find_by_filename(name) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems