Sha256: e6b2517d4fa045e2df08c9d7f8f1183d781c71db0c8c850c38f9627b4d7f79c1

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

module AnchorUi
  module Sprockets
    module Assets
      class Base < AnchorUi::Core::Assets::Base
        include Paths

        delegate :asset_name, to: :class

        private

        def root_path
          @tmp_path || begin
            Pathname.new File.expand_path("#{__dir__}/../../../..")
          end
        end

        def assets_path
          root_path.join 'assets'
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
anchor_ui-sprockets-5.2.0.1 lib/anchor_ui/sprockets/assets/base.rb