method
compile_path?
v3.2.3 -
Show latest stable
-
0 notes -
Class: StaticCompiler
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0
- 3.0.5
- 3.0.7
- 3.0.9
- 3.1.0
- 3.2.1 (0)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13
- What's this?
compile_path?(logical_path)
public
Hide source
# File actionpack/lib/sprockets/static_compiler.rb, line 43 def compile_path?(logical_path) paths.each do |path| case path when Regexp return true if path.match(logical_path) when Proc return true if path.call(logical_path) else return true if File.fnmatch(path.to_s, logical_path) end end false end


