Class: PrologMetadataHook

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
# File 'lib/metadata_hook.rb', line 2

def 
  {language: {
      name: 'prolog',
      icon: {type: 'devicon', name: 'prolog'},
      version: 'swi-prolog 6.6.4',
      extension: 'pl',
      ace_mode: 'prolog',
      prompt: '?'
  },
   test_framework: {
       name: 'plunit',
       test_extension: 'pl',
       template: "test(test_description_example):-\n  aPredicate(anIndividual).\n"
   }}
end