Sha256: 79c5ffa7c295254100ae36abd7a9052a6d65684363acf49c989bb7589ab0a70f
Contents?: true
Size: 477 Bytes
Versions: 29
Compression:
Stored size: 477 Bytes
Contents
class TestLab class Container module ClassMethods # Container domain list # # Returns an array of strings containing all the unique domains defined # across all containers # # @return [Array<String>] A unique array of all defined domain names. def domains self.all.map do |container| container.domain ||= container.node.domain container.domain end.compact.uniq end end end end
Version data entries
29 entries across 29 versions & 1 rubygems