Class: Exercism::Adapters::Clojure

Inherits:
Adapter
  • Object
show all
Defined in:
lib/exercism-analysis/adapters/clojure.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(jar, namespace, argument) ⇒ Object



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

def execute(jar, namespace, argument)
  `java -cp #{[jar, namespace, argument].join(' ')}`
end