class Sprockets::Asset
def digest_path
Experimental RBS support (using type sampling data from the type_fusion
project).
def digest_path: () -> String
This signature was generated using 3 samples from 2 applications.
"foo/bar-37b51d194a7513e45b56f6524f2d51f2.js"
Public: Return logical path with digest spliced in.
def digest_path if DigestUtils.already_digested?(@name) logical_path else logical_path.sub(/\.(\w+)$/) { |ext| "-#{etag}#{ext}" } end end