instance method
update
Ruby on Rails 2.0.3
Since v2.0.3 Last seen in v2.2.3Signature
update()
No documentation comment.
Source
# File lib/importmap/commands.rb, line 93
def update
if (outdated_packages = npm.outdated_packages).any?
pin(*outdated_packages.map(&:name))
else
puts "No outdated packages found"
end
end
Defined in lib/importmap/commands.rb line 93
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Commands