instance method update

Ruby on Rails 2.1.0

Since v2.0.3 Last seen in v2.2.3

Available in: v2.0.3 v2.1.0 v2.2.3

Signature

update()

No documentation comment.

Source
# File lib/importmap/commands.rb, line 111
  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 111 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Importmap::Commands

Type at least 2 characters to search.

↑↓ navigate · open · esc close