instance method pin_all_from

Ruby on Rails 1.2.3

Since v1.0.3 Last seen in v2.2.3

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

Signature

pin_all_from(dir, under: nil, to: nil, preload: false)

No documentation comment.

Parameters

dir req
under key = nil
to key = nil
preload key = false
Source
# File lib/importmap/map.rb, line 33
  def pin_all_from(dir, under: nil, to: nil, preload: false)
    clear_cache
    @directories[dir] = MappedDir.new(dir: dir, under: under, path: to, preload: preload)
  end

Defined in lib/importmap/map.rb line 33 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Importmap::Map

Type at least 2 characters to search.

↑↓ navigate · open · esc close