Class: Pot::Installers::Npm
- Inherits:
-
Pot::Installer
- Object
- Pot::Installer
- Pot::Installers::Npm
- Defined in:
- lib/pot/installers/npm.rb
Instance Attribute Summary collapse
-
#package_name ⇒ Object
Returns the value of attribute package_name.
Attributes inherited from Pot::Installer
#actor, #options, #package, #post, #pre
Instance Method Summary collapse
-
#initialize(parent, package_name, &block) ⇒ Npm
constructor
A new instance of Npm.
Methods inherited from Pot::Installer
#archives, #builds, #commands, #prefix, #process
Constructor Details
#initialize(parent, package_name, &block) ⇒ Npm
Returns a new instance of Npm.
7 8 9 10 |
# File 'lib/pot/installers/npm.rb', line 7 def initialize(parent, package_name, &block) super parent, &block @package_name = package_name end |
Instance Attribute Details
#package_name ⇒ Object
Returns the value of attribute package_name.
5 6 7 |
# File 'lib/pot/installers/npm.rb', line 5 def package_name @package_name end |