Sha256: 9022109be15d4cf3fd0633f68fd0d7958d48e15f5fa3fab98b0c78da4903c1cd
Contents?: true
Size: 533 Bytes
Versions: 52
Compression:
Stored size: 533 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.select{ |container| (!container.template rescue true) }.map do |container| container.domain ||= container.node.domain container.domain end.compact.uniq end end end end
Version data entries
52 entries across 52 versions & 1 rubygems