Sha256: 52dece9884eaa0216c804b97964aef82d139235b2383e1e5eacd9ee29c406a3b

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Proscenium
  class Middleware
    class Runtime < Esbuild
      private

      def real_path
        @real_path ||= Pathname.new(@request.path.sub(%r{^/@proscenium},
                                                      '/lib/proscenium/libs')).to_s
      end

      def root
        @root ||= Proscenium::Railtie.root.to_s
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
proscenium-0.11.0.pre.3-arm64-darwin lib/proscenium/middleware/runtime.rb
proscenium-0.11.0.pre.3-x86_64-linux lib/proscenium/middleware/runtime.rb
proscenium-0.11.0.pre.2-x86_64-linux lib/proscenium/middleware/runtime.rb
proscenium-0.11.0.pre.2-aarch64-linux lib/proscenium/middleware/runtime.rb
proscenium-0.11.0.pre.2-arm64-darwin lib/proscenium/middleware/runtime.rb
proscenium-0.11.0.pre.2-x86_64-darwin lib/proscenium/middleware/runtime.rb