class Sprockets::AssetAttributes
def engine_extensions
# => [".coffee", ".erb"]
"foo.js.coffee.erb"
Returns an `Array` of engine extensions.
def engine_extensions exts = extensions if offset = extensions.index(format_extension) exts = extensions[offset+1..-1] end exts.select { |ext| @environment.engines(ext) } end