class Pathname

Public Instance Methods

each_filename(&block) click to toggle source
# File lib/chef/monkey_patches/pathname.rb, line 7
def each_filename(&block)
  if block_given?
    EachFilenameEnumerable.new(self).each(&block)
  else
    EachFilenameEnumerable.new(self)
  end
end
old_each_filename(&block) click to toggle source
# File lib/chef/monkey_patches/pathname.rb, line 15
def old_each_filename(&block)
  @@old_each_filename.bind(self).call(&block)
end