Method: Chef::ChefFS::FilePattern#normalized_pattern

Defined in:
lib/chef/chef_fs/file_pattern.rb

#normalized_patternObject

Returns the normalized version of the pattern, with / as the directory separator, and “.” and “..” removed.

This does not presently change things like b to b, but in the future it might.



140
141
142
143
# File 'lib/chef/chef_fs/file_pattern.rb', line 140

def normalized_pattern
  calculate
  @normalized_pattern
end