class Sprockets::AssetAttributes

def extensions


# => [".js", ".coffee"]
"foo.js.coffee"

Returns `Array` of extension `String`s.
def extensions
  @extensions ||= @pathname.basename.to_s.scan(/\.[^.]+/)
end