Class: Escualo::Plugin::Haskell
- Inherits:
-
Object
- Object
- Escualo::Plugin::Haskell
- Defined in:
- lib/escualo/plugin/haskell.rb
Instance Method Summary collapse
Instance Method Details
#check(ssh, _options) ⇒ Object
7 8 9 |
# File 'lib/escualo/plugin/haskell.rb', line 7 def check(ssh, ) ssh.exec!('ghc --version').include? 'The Glorious Glasgow Haskell Compilation System' end |
#run(ssh, options) ⇒ Object
3 4 5 |
# File 'lib/escualo/plugin/haskell.rb', line 3 def run(ssh, ) ssh.perform! 'apt-get install -y haskell-platform', end |