method
show_files
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::ContentsCommand
show_files(files)public
No documentation available.
# File lib/rubygems/commands/contents_command.rb, line 156
def show_files(files)
files.sort.each do |prefix, basename|
absolute_path = File.join(prefix, basename)
next if File.directory? absolute_path
if options[:prefix]
say absolute_path
else
say basename
end
end
end