Sha256: 248b68476ebfa940a98f47eddceaa82d48feceea8f7993d3f2529fa3c74261b4
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
module Ironfan class Dsl class Realm < Ironfan::Dsl::Compute collection :clusters, Ironfan::Dsl::Cluster, :resolver => :deep_resolve def initialize(attrs={},&block) super end def cluster(label, attrs={},&blk) new_name = [realm_name, label].join '_' cluster = Ironfan::Dsl::Cluster.new(name: new_name) cluster.receive!(attrs, &blk) super(new_name, cluster) end def realm_name() name; end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ironfan-4.12.0 | lib/ironfan/dsl/realm.rb |