Sprockets::Asset
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
dest_path
Sourcedest_path=(dest_path : String)
Sourcedigest
Sourcedigest=(digest : String)
Sourcelogical_path
Sourcelogical_path=(logical_path : String)
Sourcemtime
Sourcemtime=(mtime : Time)
Sourcerename_logical_path_to_css
Sourcerename_logical_path_to_js
Sourcerename_to_css
Sourcerename_to_js
Sourcesource_path
Sourcesource_path=(source_path : String)
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
type
Sourcetype=(type : AssetType)
Source