mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-29 13:21:01 +00:00
This reject is no longer necessary
This commit is contained in:
@@ -271,7 +271,7 @@ module Linguist
|
|||||||
#
|
#
|
||||||
# Returns an Array of Languages.
|
# Returns an Array of Languages.
|
||||||
def self.ace_modes
|
def self.ace_modes
|
||||||
@ace_modes ||= all.select(&:ace_mode).sort_by { |lang| lang.name.downcase }.reject { |h| h.ace_mode == 'none' }
|
@ace_modes ||= all.select(&:ace_mode).sort_by { |lang| lang.name.downcase }
|
||||||
end
|
end
|
||||||
|
|
||||||
# Internal: Initialize a new Language
|
# Internal: Initialize a new Language
|
||||||
|
|||||||
Reference in New Issue
Block a user