class Amber::Assets::Manifest

Included Modules

Defined in:

amber/assets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.load(path : String) : self #

[View source]
def self.load(path : Path) : self #

[View source]
def self.new(schema_version : Int32, public_path : String, assets : Hash(String, Entry)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def assets : Hash(String, Entry) #

[View source]
def entry(logical_path : String) : Entry #

[View source]
def integrity(logical_path : String) : String #

[View source]
def path(logical_path : String) : String #

[View source]
def public_path : String #

[View source]
def schema_version : Int32 #

[View source]
def validate!(source : String = "asset manifest") : Nil #

[View source]