Class: Infect::Command::Package

Inherits:
Plugin show all
Defined in:
lib/infect/command/package.rb

Instance Attribute Summary

Attributes inherited from Plugin

#build, #location, #name, #options, #url

Instance Method Summary collapse

Methods inherited from Plugin

#call, #install, #update

Methods inherited from Infect::Command

build

Methods included from Infect::Colorize

#colorize, #error, #notice

Constructor Details

#initialize(arg, opts) ⇒ Package

Returns a new instance of Package.



4
5
6
7
# File 'lib/infect/command/package.rb', line 4

def initialize(arg, opts)
  super
  @location = File.expand_path("#{PACK_DIR}/#{name}")
end