Class: Registry::Zip
- Defined in:
- lib/radiant/extension/script.rb
Instance Attribute Summary
Attributes inherited from Installer
Instance Method Summary collapse
Methods inherited from Download
#download, #filename, #initialize, #install
Methods inherited from Installer
#copy_to_vendor_extensions, #initialize, #install, #migrate, #update
Methods inherited from Action
Constructor Details
This class inherits a constructor from Registry::Download
Instance Method Details
#unpack ⇒ Object
210 211 212 213 |
# File 'lib/radiant/extension/script.rb', line 210 def unpack output = `cd #{Dir.tmpdir}; unzip #{filename} -d #{name}` self.path = File.join(Dir.tmpdir, name) end |