Sha256: 5cf0ce463f1607de892e81926e86810c1b6b4ed65720e759edb64eb182138c22

Contents?: true

Size: 430 Bytes

Versions: 12

Compression:

Stored size: 430 Bytes

Contents

module Gumdrop
  module DSL
  
    def self.generate(&block)
      # Auto-generated, numerical, key for a site-level generator
      Gumdrop.generators[Gumdrop.generators.keys.length] = Generator.new(block)
    end
  
    def self.content_filter(&block)
      Gumdrop.content_filters << block
    end
  
    def self.skip(path)
      Gumdrop.report " blacklist: #{path}", :info
      Gumdrop.blacklist << path
    end
  
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gumdrop-0.3.9 lib/gumdrop/dsl.rb
gumdrop-0.3.8 lib/gumdrop/dsl.rb
gumdrop-0.3.7 lib/gumdrop/dsl.rb
gumdrop-0.3.6 lib/gumdrop/dsl.rb
gumdrop-0.3.5 lib/gumdrop/dsl.rb
gumdrop-0.3.4 lib/gumdrop/dsl.rb
gumdrop-0.3.3 lib/gumdrop/dsl.rb
gumdrop-0.3.2 lib/gumdrop/dsl.rb
gumdrop-0.3 lib/gumdrop/dsl.rb
gumdrop-0.2.16 lib/gumdrop/dsl.rb
gumdrop-0.2.15 lib/gumdrop/dsl.rb
gumdrop-0.2.14 lib/gumdrop/dsl.rb