mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Remove Language#lexers
This commit is contained in:
@@ -39,10 +39,6 @@ module Linguist
|
|||||||
@lexer_index[lexer]
|
@lexer_index[lexer]
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.lexers
|
|
||||||
@lexer_index.to_a
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.popular
|
def self.popular
|
||||||
@name_index.values.select(&:popular?).sort_by { |lang| lang.name.downcase }
|
@name_index.values.select(&:popular?).sort_by { |lang| lang.name.downcase }
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user