Sha256: b325547ff4a246bb25cdd5206f0827b4433d87dab1ba07cbe38c92e4ed496fcc
Contents?: true
Size: 436 Bytes
Versions: 15
Compression:
Stored size: 436 Bytes
Contents
module Buildkite module Builder class PluginManager def initialize @plugins = {} end def add(name, uri) name = name.to_s if @plugins.key?(name) raise ArgumentError, "Plugin already defined: #{name}" end @plugins[name] = uri end def fetch(name) @plugins[name] end def to_definition # No-op end end end end
Version data entries
15 entries across 15 versions & 1 rubygems