instance method
find_javascript_files_in_tree
Ruby on Rails 2.0.3
Since v1.0.3 Last seen in v2.2.3 PrivateSignature
find_javascript_files_in_tree(path)
No documentation comment.
Parameters
-
pathreq
Source
# File lib/importmap/map.rb, line 161
def find_javascript_files_in_tree(path)
Dir[path.join("**/*.js{,m}")].sort.collect { |file| Pathname.new(file) }.select(&:file?)
end
Defined in lib/importmap/map.rb line 161
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Map