Sha256: f219b5d7fb5917bc67a69e384937964758e96e673da22f49155f176855228d04
Contents?: true
Size: 211 Bytes
Versions: 1
Compression:
Stored size: 211 Bytes
Contents
require 'md5' class Rack::Bundle::JSBundle attr_accessor :contents, :hash def initialize *files @contents = files.join ';' @hash = MD5.new(@contents).to_s end def extension 'js' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-bundle-0.1.0 | lib/rack/bundle/js_bundle.rb |