method
compile_glob
v3.2.8 -
Show latest stable
- Class:
ActiveSupport::FileUpdateChecker
compile_glob(hash)private
No documentation available.
# File activesupport/lib/active_support/file_update_checker.rb, line 104
def compile_glob(hash) #:nodoc:
hash.freeze # Freeze so changes aren't accidently pushed
return if hash.empty?
globs = []
hash.each do |key, value|
globs << "#{key}/**/*#{compile_ext(value)}"
end
"{#{globs.join(",")}}"
end