Sha256: 827270a09190390b511bba59d0456cafd4b1d38c8ee01c08e6fddfe6bbe9bcbe
Contents?: true
Size: 251 Bytes
Versions: 10
Compression:
Stored size: 251 Bytes
Contents
keys = [] dirname = File.join(find_account_dir(@username), "keys") Dir.entries(dirname).each do |name| next if name == '.' || name == '..' keys << name end if OPTIONS[:format] == :yaml puts YAML::dump(keys) else keys.each { |k| puts k } end
Version data entries
10 entries across 10 versions & 1 rubygems