Sha256: 62235a5e5c5b5aaf8bebba2c10b16ae3c91107ee9abe67bf86cbe9a31954685a

Contents?: true

Size: 367 Bytes

Versions: 7

Compression:

Stored size: 367 Bytes

Contents

module Refinery
  class Configuration

    def after_inclusion_procs
      @@after_inclusion_procs ||= []
    end

    def after_inclusion(&blk)
      after_inclusion_procs << blk if blk
    end

    def before_inclusion_procs
      @@before_inclusion_procs ||= []
    end

    def before_inclusion(&blk)
      before_inclusion_procs << blk if blk
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-core-0.9.9.20 lib/refinery/configuration.rb
refinerycms-core-0.9.9.19 lib/refinery/configuration.rb
refinerycms-core-0.9.9.18 lib/refinery/configuration.rb
refinerycms-core-0.9.9.17 lib/refinery/configuration.rb
refinerycms-core-0.9.9.16 lib/refinery/configuration.rb
refinerycms-core-0.9.9.15 lib/refinery/configuration.rb
refinerycms-core-0.9.9.14 lib/refinery/configuration.rb