Class: UI::Configuration
- Inherits:
-
Object
- Object
- UI::Configuration
- Defined in:
- lib/ui/configuration.rb
Overview
Configuration
Allows users to override automatic gem detection for Phlex and ViewComponent.
Instance Attribute Summary collapse
-
#enable_phlex ⇒ Boolean?
Nil = auto-detect, true = force enable, false = force disable.
-
#enable_view_component ⇒ Boolean?
Nil = auto-detect, true = force enable, false = force disable.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
35 36 37 38 |
# File 'lib/ui/configuration.rb', line 35 def initialize @enable_phlex = nil @enable_view_component = nil end |
Instance Attribute Details
#enable_phlex ⇒ Boolean?
Returns nil = auto-detect, true = force enable, false = force disable.
30 31 32 |
# File 'lib/ui/configuration.rb', line 30 def enable_phlex @enable_phlex end |
#enable_view_component ⇒ Boolean?
Returns nil = auto-detect, true = force enable, false = force disable.
33 34 35 |
# File 'lib/ui/configuration.rb', line 33 def enable_view_component @enable_view_component end |