Lookbook v1.0.8

Component

Represents a component.

Attributes

.name

Component class name, e.g. Elements::ButtonComponent

Type: String
.rel_path

Component class file path, relative to the components directory.

Type: Pathname
.full_path

Full filesystem path to the component class file

Type: Pathname
.dir_path

Directory containing the component class file

Type: Pathname
.template_path

Path to the component template file, if present

Type: Pathname
.inline?

Returns true if the component does not have a template file

Type: Boolean