Class: Exercism::Adapters::Python

Inherits:
Adapter
  • Object
show all
Defined in:
lib/exercism-analysis/adapters/python.rb

Instance Attribute Summary

Attributes inherited from Adapter

#code

Instance Method Summary collapse

Methods inherited from Adapter

#initialize, #process

Constructor Details

This class inherits a constructor from Exercism::Adapters::Adapter

Instance Method Details

#execute(*commands) ⇒ Object


6
7
8
# File 'lib/exercism-analysis/adapters/python.rb', line 6

def execute(*commands)
  `python #{commands.join(' ')}`
end