method
entries
v1_9_2_180 -
Show latest stable
- Class:
FileUtils::Entry_
entries()public
No documentation available.
# File lib/fileutils.rb, line 1183
def entries
opts = {}
opts[:encoding] = "UTF-8" if /mswin|mignw/ =~ RUBY_PLATFORM
Dir.entries(path(), opts) .reject {|n| n == '.' or n == '..' } .map {|n| Entry_.new(prefix(), join(rel(), n.untaint)) }
end