mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-29 21:31:01 +00:00
Note that BlobHelper is a turd
This commit is contained in:
@@ -8,6 +8,11 @@ require 'pygments'
|
|||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
|
||||||
module Linguist
|
module Linguist
|
||||||
|
# DEPRECATED Avoid mixing into Blob classes. Prefer functional interfaces
|
||||||
|
# like `Language.detect` over `Blob#language`.
|
||||||
|
#
|
||||||
|
# Avoid adding additional bloat to this module.
|
||||||
|
#
|
||||||
# BlobHelper is a mixin for Blobish classes that respond to "name",
|
# BlobHelper is a mixin for Blobish classes that respond to "name",
|
||||||
# "data" and "size" such as Grit::Blob.
|
# "data" and "size" such as Grit::Blob.
|
||||||
module BlobHelper
|
module BlobHelper
|
||||||
|
|||||||
Reference in New Issue
Block a user