Class: Linguist::Language

Inherits:
Object
  • Object
show all
Defined in:
lib/dependabot/linguist/language.rb

Instance Method Summary collapse

Instance Method Details

#convert_to_detectable_typeObject



40
41
42
# File 'lib/dependabot/linguist/language.rb', line 40

def convert_to_detectable_type
  @type = :programming
end

#patch_for_dependabot_linguistObject



44
45
46
# File 'lib/dependabot/linguist/language.rb', line 44

def patch_for_dependabot_linguist
  self.ungroup_language.convert_to_detectable_type
end

#ungroup_languageObject



35
36
37
38
# File 'lib/dependabot/linguist/language.rb', line 35

def ungroup_language
  @group_name = self.name
  self
end