instance method
module_path_from
Ruby on Rails 1.1.6
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 147
def module_path_from(filename, mapping)
[ mapping.path || mapping.under, filename.to_s ].compact.join("/")
end
Defined in lib/importmap/map.rb line 147
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Map