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.1.8 lib/cell/self_contained.rb
cells-4.1.7 lib/cell/self_contained.rb
cells-4.1.6 lib/cell/self_contained.rb
cells-4.1.5 lib/cell/self_contained.rb
cells-4.1.4 lib/cell/self_contained.rb
cells-4.1.3 lib/cell/self_contained.rb
cells-4.1.2 lib/cell/self_contained.rb
cells-4.1.1 lib/cell/self_contained.rb
cells-4.1.0 lib/cell/self_contained.rb
cells-4.1.0.rc1 lib/cell/self_contained.rb
cells-4.0.5 lib/cell/self_contained.rb
cells-4.0.4 lib/cell/self_contained.rb
cells-4.0.3 lib/cell/self_contained.rb
cells-4.0.2 lib/cell/self_contained.rb
cells-4.0.1 lib/cell/self_contained.rb
cells-4.0.0 lib/cell/self_contained.rb
cells-4.0.0.rc1 lib/cell/self_contained.rb
cells-4.0.0.beta6 lib/cell/self_contained.rb
cells-4.0.0.beta5 lib/cell/self_contained.rb
cells-4.0.0.beta4 lib/cell/self_contained.rb