Flowdock
method

compile

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: StaticCompiler
compile() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/sprockets/static_compiler.rb, line 16
    def compile
      manifest = {}
      env.each_logical_path do |logical_path|
        if File.basename(logical_path)[/[^\.]+/, 0] == 'index'
          logical_path.sub!(/\/index\./, '.')
        end
        next unless compile_path?(logical_path)
        if asset = env.find_asset(logical_path)
          manifest[logical_path] = write_asset(asset)
        end
      end
      write_manifest(manifest) if @manifest
    end
Register or log in to add new notes.