class InlineSvg::AssetFile
def self.named(filename)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.named: (String filename) -> String
This signature was generated using 1 sample from 1 application.
def self.named(filename) asset_path = FindsAssetPaths.by_filename(filename) File.read(asset_path || UNREADABLE_PATH) rescue Errno::ENOENT raise FileNotFound.new("Asset not found: #{asset_path}") end