Sha256: 5717e765b75ec66502b99dfe10595271ada78f60d00827d0c55df7de0f350833
Contents?: true
Size: 843 Bytes
Versions: 17
Compression:
Stored size: 843 Bytes
Contents
class Indocker::Configurations::Formatters::Stdout def print(configuration) c = configuration <<~EOS Name: #{c.name} Repositories: { #{c.repositories.map do |alias_name, repository| " #{alias_name}: #{repository.inspect}" end.join("\n")} } Registries: { #{c.registries.map do |alias_name, registry| " #{alias_name}: #{registry.inspect}" end.join("\n")} } Servers: { #{c.servers.map do |alias_name, server| " #{alias_name}: #{server.inspect}" end.join("\n")} } Build Servers: [ #{c.build_servers.map do |build_server| " #{build_server.inspect}" end.join("\n")} ] Tags: #{c.tags.inspect} Global build args: #{c.global_build_args.inspect} EOS end end
Version data entries
17 entries across 17 versions & 1 rubygems