class

Sprockets::Asset

Inherits JSON::Serializable < Reference < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dest_path
Source
dest_path=(dest_path : String)
Source
digest
Source
digest=(digest : String)
Source
logical_path
Source
logical_path=(logical_path : String)
Source
mtime
Source
mtime=(mtime : Time)
Source
rename_logical_path_to_css
Source
rename_logical_path_to_js
Source
rename_to_css
Source
rename_to_js
Source
source_path
Source
source_path=(source_path : String)
Source
to_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.

Source
type
Source
type=(type : AssetType)
Source