Class: NCUpdate

Inherits:
Object
  • Object
show all
Defined in:
lib/ncupdater/ncupdate.rb

Instance Method Summary collapse

Instance Method Details

#update(commands) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/ncupdater/ncupdate.rb', line 3

def update(commands)
  commands.each do |key, value|
    ShellSpinner "#{key}" do
      `#{value}`
    end
  end
end