Methods

Files

Enumerable

Public Instance Methods

glob_include?(e) click to toggle source

Returns true if path matches against any glob pattern. Look for more detail about glob pattern in method File::fnmatch.

# File lib/jekyll/core_ext.rb, line 57
def glob_include?(e)
  any? { |exp| File.fnmatch?(exp, e) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.