Sha256: 09cc76c6a19dda11d4aec22bf0f69bfb7f1b620a43d9b6b336fb1f55bc853580
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
require 'taketo/constructs/base_construct' require 'taketo/support' module Taketo module Constructs class Group < BaseConstruct has_nodes :servers, :server def rails_env parent.rails_env if parent.respond_to?(:rails_env) end def has_servers? has_deeply_nested_nodes?(:servers) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taketo-0.2.0 | lib/taketo/constructs/group.rb |