Class: Pult::Panel
- Inherits:
-
Hash
- Object
- Hash
- Pult::Panel
- Defined in:
- lib/pult/panel.rb,
lib/init/struct.rb
Defined Under Namespace
Modules: App, DotAccessible, Executor, Injector, Provider, Runner
Constant Summary collapse
- SYS_KEYS =
%w{ config }
Instance Attribute Summary collapse
-
#_file ⇒ Object
Returns the value of attribute _file.
-
#_root ⇒ Object
Returns the value of attribute _root.
Instance Method Summary collapse
- #init! ⇒ Object
-
#initialize(auto: true) ⇒ Panel
constructor
A new instance of Panel.
Constructor Details
Instance Attribute Details
#_file ⇒ Object
Returns the value of attribute _file.
6 7 8 |
# File 'lib/pult/panel.rb', line 6 def _file @_file end |
#_root ⇒ Object
Returns the value of attribute _root.
5 6 7 |
# File 'lib/pult/panel.rb', line 5 def _root @_root end |
Instance Method Details
#init! ⇒ Object
15 16 17 18 |
# File 'lib/pult/panel.rb', line 15 def init! allow_init? ? \ to_panel! : raise(StandardError, 'Init is not allowed!') end |