Class: Pow::Add

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

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, appname = nil) ⇒ Add

Returns a new instance of Add.



26
27
28
# File 'lib/pow.rb', line 26

def initialize path=nil, appname=nil
  Runner.run "ln -s #{extract_dir(path)} #{Pow::POW_DIR}#{appname}"
end