Class: CMetadataHook

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: 'c',
      icon: {type: 'devicon', name: 'c'},
      extension: 'c',
      ace_mode: 'c_cpp'
  },
   test_framework: {
       name: 'cspec',
       test_extension: 'c',
       template: <<c
describe ("{{ test_template_group_description }}") {
it ("{{ test_template_sample_description }}") {
  should_bool(true) be equal to(true);
} end
} end
c
   }}
end