Class: PythonMetadataHook

Inherits:
Mumukit::Hook
  • Object
show all
Defined in:
lib/metadata_hook.rb

Instance Method Summary collapse

Instance Method Details

#metadataObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/metadata_hook.rb', line 2

def 
  {language: {
      name: 'python',
      icon: {type: 'devicon', name: 'python'},
      version: '2.7.6',
      extension: 'py',
      ace_mode: 'python'
  },
   test_framework: {
       name: 'unittest',
       test_extension: 'py',
       template: "class Test(unittest.TestCase):\n\ndef test_description_example(self):\n  self.assertTrue(True)\n"
   }}
end