instance method
module_path_from
Ruby on Rails 2.2.3
Since v1.0.3 Last seen in v2.2.3 PrivateSignature
module_path_from(filename, mapping)
No documentation comment.
Parameters
-
filenamereq -
mappingreq
Source
# File lib/importmap/map.rb, line 308
def module_path_from(filename, mapping)
[ mapping.path || mapping.under, filename.to_s ].compact.reject(&:empty?).join("/")
end
Defined in lib/importmap/map.rb line 308
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Map