Class: Exercism::Adapters::Go

Inherits:
Adapter
  • Object
show all
Defined in:
lib/exercism-analysis/adapters/go.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/go.rb', line 6

def execute(*commands)
  `GOPATH=#{go_path} go #{commands.join(' ')}`
end