Module: Essence
- Defined in:
- lib/essence.rb,
lib/essence/cli.rb,
lib/essence/cli/add.rb,
lib/essence/version.rb,
lib/essence/cli/install.rb,
lib/essence/cli/version.rb
Defined Under Namespace
Modules: CLI Classes: Button, Essence, Link, Row, Skeleton
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
-
.component_class_names ⇒ Object
Components Class names and classes are separated to avoid loading in Phlex into the CLI tooling.
- .component_classes ⇒ Object
- .component_names ⇒ Object
Class Method Details
.component_class_names ⇒ Object
Components Class names and classes are separated to avoid loading in Phlex into the CLI tooling
19 20 21 22 23 24 25 26 27 |
# File 'lib/essence.rb', line 19 def self.component_class_names @component_class_names ||= { essence: "Essence::Essence", button: "Essence::Button", link: "Essence::Link", skeleton: "Essence::Skeleton", row: "Essence::Row", } end |
.component_classes ⇒ Object
29 30 31 32 33 34 35 36 37 |
# File 'lib/essence.rb', line 29 def self.component_classes @components_classes ||= { essence: ::Essence::Essence, button: ::Essence::Button, link: ::Essence::Link, skeleton: ::Essence::Skeleton, row: ::Essence::Row, } end |
.component_names ⇒ Object
39 40 41 |
# File 'lib/essence.rb', line 39 def self.component_names @component_names ||= component_class_names.keys end |