app :: Asset :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
app :: Asset :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# Resource from the assets folder
#
# At compilation, the asset folder should be at the root of the package.
# In practice, this is usually next to the folders `src` and `bin`.
#
# These assets are packaged with the application.
abstract class Asset
# Path to this asset within the assets folder
var path: String
end
lib/app/assets.nit:18,1--28,3