Class: Linguist::Language

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

Overview

Instance Method Summary collapse

Instance Method Details

#convert_to_detectable_typeObject



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

def convert_to_detectable_type
  @type = :programming
end

#patch_for_dependabot_linguistObject



47
48
49
# File 'lib/dependabot/linguist/language.rb', line 47

def patch_for_dependabot_linguist
  self.ungroup_language.convert_to_detectable_type
end

#ungroup_languageObject



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

def ungroup_language
  @group_name = self.name
  self
end