Sha256: fb1e6b100a116580ca61ffe1cb3f5ff00cef03ff34c7284eb29140fa4504c893

Contents?: true

Size: 565 Bytes

Versions: 19

Compression:

Stored size: 565 Bytes

Contents

# frozen_string_literal: true

module Proscenium::Phlex::ComponentConcerns
  module CssModules
    extend ActiveSupport::Concern
    include Proscenium::CssModule
    include Proscenium::Phlex::ResolveCssModules

    # class_methods do
    #   # FIXME: Still needed?
    #   def path
    #     pp name, super
    #     pp Module.const_source_location(name).first

    #     name && Pathname.new(Module.const_source_location(name).first)
    #   rescue NameError
    #     nil
    #   end
    # end

    private

    def path
      self.class.path
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
proscenium-0.9.1-x86_64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.1-aarch64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.1-arm64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.1-x86_64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.0-x86_64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.0-aarch64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.0-arm64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.9.0-x86_64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.2-x86_64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.2-aarch64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.2-arm64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.2-x86_64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.0-aarch64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.0-arm64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.8.0-x86_64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.7.0-x86_64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.7.0-aarch64-linux lib/proscenium/phlex/component_concerns.rb
proscenium-0.7.0-arm64-darwin lib/proscenium/phlex/component_concerns.rb
proscenium-0.7.0-x86_64-darwin lib/proscenium/phlex/component_concerns.rb