method
show_files
v2_2_9 -
Show latest stable
- Class:
Gem::Commands::ContentsCommand
show_files(files)public
No documentation available.
# File lib/rubygems/commands/contents_command.rb, line 155
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] then
say absolute_path
else
say basename
end
end
end