Sha256: 5732f10a5b71b85ee22d159d8a307a6cbda27aaf2b59db95639d62ad57bf4219
Contents?: true
Size: 385 Bytes
Versions: 11
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module Spandx module Core class Plugin def enhance(_dependency) raise ::Spandx::Error, :enhance end class << self include Registerable def enhance(dependency) Plugin.all.inject(dependency) do |memo, plugin| plugin.enhance(memo) end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems