Class: Jah::ActPkg::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/jah/act_pkg/base.rb

Direct Known Subclasses

Jah::Apt, Pacman, Ports, Slack, Urpm, Yum, Zypp

Instance Method Summary collapse

Instance Method Details

#install(comm = "install") ⇒ Object



7
8
9
# File 'lib/jah/act_pkg/base.rb', line 7

def install(comm = "install")
  BIN + comm
end

#run(comm) ⇒ Object



11
12
13
# File 'lib/jah/act_pkg/base.rb', line 11

def run(comm)
  `#{comm}`
end