Sha256: ed6d8843c97f3d8181dd9c8d1c346ed6d27a831ddcb6b99461ec0230c542fa53

Contents?: true

Size: 1.12 KB

Versions: 14

Compression:

Stored size: 1.12 KB

Contents

require 'active_support/core_ext/hash'
require 'active_support/hash_with_indifferent_access'
require 'blocks/action_view_extensions/view_extensions'

module Blocks
  extend ActiveSupport::Autoload

  eager_autoload do
    autoload_under 'renderers' do
      autoload :Renderer
      autoload :RuntimeContext
      autoload :AbstractRenderer
      autoload :PartialRenderer
      autoload :BlockWithHooksRenderer
      autoload :AdjacentBlocksRenderer
      autoload :NestingBlocksRenderer
      autoload :CollectionRenderer
      autoload :WrapperRenderer
      autoload :BlockRenderer
      autoload :BlockPlaceholder
    end

    autoload_under 'builders' do
      autoload :HookDefinition
      autoload :BlockDefinition
      autoload :Builder
    end

    autoload_under 'utilities' do
      autoload :DynamicConfiguration
      autoload :Configurator
      autoload :OptionsSet
      autoload :HashWithRenderStrategy
      autoload :HashWithCaller
    end
  end

  # WIP
  # autoload_under 'experimental' do
  #   autoload :BuilderPermissions
  #   autoload :InvalidPermissionsHandler
  # end

  autoload :Version

  include Configurator
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
blocks-3.0.4 lib/blocks.rb
blocks-3.0.3 lib/blocks.rb
blocks-3.0.2 lib/blocks.rb
blocks-3.0.1 lib/blocks.rb
blocks-3.0.0 lib/blocks.rb
blocks-3.0.0.rc9 lib/blocks.rb
blocks-3.0.0.rc8 lib/blocks.rb
blocks-3.0.0.rc7 lib/blocks.rb
blocks-3.0.0.rc6 lib/blocks.rb
blocks-3.0.0.rc5 lib/blocks.rb
blocks-3.0.0.rc4 lib/blocks.rb
blocks-3.0.0.rc3 lib/blocks.rb
blocks-3.0.0.rc2 lib/blocks.rb
blocks-3.0.0.rc1 lib/blocks.rb