class Marten::Asset::Finder::AppDirs

Overview

Represents an asset finder allowing to find assets in the installed application directories.

Defined in:

marten/asset/finder/app_dirs.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::Asset::Finder::Base

find(filepath : String) : String find, list : Array(Tuple(String, String)) list

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def find(filepath : String) : String #
Description copied from class Marten::Asset::Finder::Base

Returns the absolute path corresponding to the passed file path.


[View source]
def list : Array(Tuple(String, String)) #
Description copied from class Marten::Asset::Finder::Base

Returns an array of all the available relative and absolute paths for the underlying assets.


[View source]