instance method
pin_all_from
Ruby on Rails 2.1.0
Since v1.0.3 Last seen in v2.2.3Signature
pin_all_from(dir, under: nil, to: nil, preload: true)
No documentation comment.
Parameters
-
dirreq -
underkey = nil -
tokey = nil -
preloadkey = true
Source
# File lib/importmap/map.rb, line 33
def pin_all_from(dir, under: nil, to: nil, preload: true)
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