Class: Infect::Command::Package
- Inherits:
-
Plugin
- Object
- Infect::Command
- Plugin
- Infect::Command::Package
- Defined in:
- lib/infect/command/package.rb
Instance Attribute Summary
Attributes inherited from Plugin
#build, #location, #name, #options, #url
Instance Method Summary collapse
-
#initialize(arg, opts) ⇒ Package
constructor
A new instance of Package.
Methods inherited from Plugin
Methods inherited from Infect::Command
Methods included from Infect::Colorize
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.("#{PACK_DIR}/#{name}") end |