Sha256: da0813f3a0ac6ab04ee7d64508e658d3a901bd7031dd13a941edeba61c806105
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
module Awestruct module Extensions class Pipeline attr_reader :extensions def initialize(&block) @extensions = [] instance_eval &block if block end def extension(ext) @extensions << ext end def execute(site) extensions.each do |ext| ext.execute( site ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems