Class: Artoo::Commands::Install
- Inherits:
-
Artoo::Commands
- Object
- Artoo::Commands
- Artoo::Commands::Install
- Defined in:
- lib/artoo/commands/digispark.rb
Instance Method Summary collapse
Instance Method Details
#digispark ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/artoo/commands/digispark.rb', line 8 def digispark case os when :linux # TODO: install the udev rules file run("littlewire.rb install #{[:version]}") when :macosx run("littlewire.rb install #{[:version]}") else say "OS not yet supported..." end end |