class Sprockets::URITar
def initialize(uri, env)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (String uri, Sprockets::CachedEnvironment env) -> void
This signature was generated using 298 samples from 5 applications.
uri - A String containing URI that may or may not contain the scheme
Internal: Initialize object for compression or expansion
def initialize(uri, env) @root = env.root @env = env uri = uri.to_s if uri.include?("://".freeze) @scheme, _, @path = uri.partition("://".freeze) @scheme << "://".freeze else @scheme = "".freeze @path = uri end end