Sha256: 87d3f381d5864a299f9411570ca6fd23e88dc5985bb5db91f90e9c72b031abdc

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

module Workarea
  module Configuration
    module ContentBlocks
      extend self

      def building_blocks
        @building_blocks ||= []
      end

      def load
        building_blocks.each do |block|
          Content::BlockTypeDefinition.define(&block)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-core-3.5.4 lib/workarea/configuration/content_blocks.rb
workarea-core-3.5.3 lib/workarea/configuration/content_blocks.rb
workarea-core-3.5.2 lib/workarea/configuration/content_blocks.rb
workarea-core-3.5.1 lib/workarea/configuration/content_blocks.rb
workarea-core-3.5.0 lib/workarea/configuration/content_blocks.rb
workarea-core-3.5.0.beta.1 lib/workarea/configuration/content_blocks.rb