instance method
compile_glob
Ruby on Rails 6.1.7.10
Since v4.0.13 PrivateSignature
compile_glob(hash)
No documentation comment.
Parameters
-
hashreq
Source
# File activesupport/lib/active_support/file_update_checker.rb, line 142
def compile_glob(hash)
hash.freeze # Freeze so changes aren't accidentally pushed
return if hash.empty?
globs = hash.map do |key, value|
"#{escape(key)}/**/*#{compile_ext(value)}"
end
"{#{globs.join(",")}}"
end
Defined in activesupport/lib/active_support/file_update_checker.rb line 142
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::FileUpdateChecker