class Marten::Asset::Finder::AppDirs
- Marten::Asset::Finder::AppDirs
- Marten::Asset::Finder::Base
- Reference
- Object
Overview
Represents an asset finder allowing to find assets in the installed application directories.
Defined in:
marten/asset/finder/app_dirs.crConstructors
Instance Method Summary
-
#find(filepath : String) : String
Returns the absolute path corresponding to the passed file path.
-
#list : Array(Tuple(String, String))
Returns an array of all the available relative and absolute paths for the underlying assets.
Instance methods inherited from class Marten::Asset::Finder::Base
find(filepath : String) : String
find,
list : Array(Tuple(String, String))
list
Constructor Detail
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.
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.