Sha256: d9b6dca81592652f53af2f8af6d606f47046a5665dcde418b07da9131de9c315
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 Bytes
Contents
module Convoy module Setup module Dsl class Global < Command def initialize(&block) reset(:global) block.call(self) rescue => e raise Convoy::ClientError.new("Problem with syntax of global configuration", e) end def config_file(name, options = {}) @config_file = ConfigFile.new(name, options) end def version(version) @version = version end private def custom_reset @version = nil @config_file = nil end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
convoy-1.3.2 | lib/convoy/setup/dsl/global.rb |
convoy-1.2.0 | lib/convoy/setup/dsl/global.rb |