Sha256: 8e6eee89cda89e2bf6cf9701f065b2d3bfd9dce48e252871389b40d1e4c4c4ea

Contents?: true

Size: 320 Bytes

Versions: 24

Compression:

Stored size: 320 Bytes

Contents

# Enforces the new trailblazer directory layout where cells (or concepts in general) are
# fully self-contained in its own directory.
module Cell::SelfContained
  def self_contained!
    extend Prefixes
  end

  module Prefixes
    def _local_prefixes
      super.collect { |prefix| "#{prefix}/views" }
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
cells-4.0.0.beta3 lib/cell/self_contained.rb
cells-4.0.0.beta2 lib/cell/self_contained.rb
cells-4.0.0.beta1 lib/cell/self_contained.rb
cells-jamie-4.0.0.alpha1 lib/cell/self_contained.rb