instance method
pristine
Ruby on Rails 2.2.3
Since v2.1.0 Last seen in v2.2.3Available in: v2.1.0 v2.2.3
Signature
pristine()
No documentation comment.
Source
# File lib/importmap/commands.rb, line 37
def pristine
packages = prepare_packages_with_versions
for_each_import(packages, env: options[:env], from: options[:from]) do |package, url|
puts %(Downloading "#{package}" to #{packager.vendor_path}/#{package}.js from #{url})
packager.download(package, url)
end
end
Defined in lib/importmap/commands.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Commands