Sha256: 43fe2d4d1e9c85ef77afc8a7064b78d53b02abaf8fcd9a11124acd09d35a9c82

Contents?: true

Size: 220 Bytes

Versions: 7

Compression:

Stored size: 220 Bytes

Contents

module Jammit
  module Lite
    class Asset

      attr_accessor :path

      def initialize(path)
        @type = path.split('.').last.to_sym #=> :js
        @path = path.gsub('public','')
      end

    end
  end  
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
sc_jammit_lite-0.6.0 lib/jammit/lite/asset.rb
sc_jammit_lite-0.2.2 lib/jammit/lite/asset.rb
sc_jammit_lite-0.2.1 lib/jammit/lite/asset.rb
sc_jammit_lite-0.2.0 lib/jammit/lite/asset.rb
jammit_lite-0.1.2 lib/jammit/lite/asset.rb
jammit_lite-0.1.1 lib/jammit/lite/asset.rb
jammit_lite-0.1.0 lib/jammit/lite/asset.rb