Class: BasePythonMetadataHook
- Inherits:
-
Mumukit::Hook
- Object
- Mumukit::Hook
- BasePythonMetadataHook
- Defined in:
- lib/base/metadata_hook.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#external_editor_instructions ⇒ Object
27 28 |
# File 'lib/base/metadata_hook.rb', line 27 def external_editor_instructions end |
#libraries ⇒ Object
30 31 |
# File 'lib/base/metadata_hook.rb', line 30 def libraries end |
#metadata ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/base/metadata_hook.rb', line 2 def {language: { name: 'python', icon: {type: 'devicon', name: 'python'}, version: version, extension: 'py', ace_mode: 'python', }, test_framework: { name: 'unittest', test_extension: 'py', template: <<python class Test(unittest.TestCase): def test_description_example(self): self.assertTrue(True) python }, libraries: libraries, external_editor_instructions: external_editor_instructions }.compact end |