Sha256: 21c5e1dcf9b5e4d1ec3339d2305ddc213b3659d7e30986dbfdf2eac7ae69d2ae
Contents?: true
Size: 494 Bytes
Versions: 45
Compression:
Stored size: 494 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.labfile.config[:domain] container.domain end.compact.uniq end end end end
Version data entries
45 entries across 45 versions & 1 rubygems