Sha256: c303fb6be0f57f99a4e28112713fcaddc6b4b8dce052aa88dacfaf798ed4e131
Contents?: true
Size: 432 Bytes
Versions: 40
Compression:
Stored size: 432 Bytes
Contents
class Terraspace::Builder::Allow class Env < Base # interface method def message messages = [] messages << "This env is not allowed to be used: TS_ENV=#{Terraspace.env}" messages << "Allow envs: #{allows.join(', ')}" if allows messages << "Deny envs: #{denys.join(', ')}" if denys messages.join("\n") end # interface method def check_value Terraspace.env end end end
Version data entries
40 entries across 40 versions & 1 rubygems