Class: SuperStack::Layer
- Inherits:
-
Hash
- Object
- Hash
- SuperStack::Layer
- Includes:
- LayerWrapper
- Defined in:
- lib/super_stack/layer.rb
Constant Summary
Constants included from LayerWrapper
SuperStack::LayerWrapper::DEFAULT_LAYER_NAME
Instance Attribute Summary
Attributes included from LayerWrapper
#disabled, #file_name, #manager, #priority, #source_auto_reload
Attributes included from MergePolicies::PolicyHandler
Instance Method Summary collapse
-
#initialize(*args) ⇒ Layer
constructor
A new instance of Layer.
Methods included from LayerWrapper
#<=>, #disable_source_auto_reload, #enable_source_auto_reload, from_hash, #has_file?, #inspect, #load, #name, #name=, #reload, #source_auto_reload?, #to_hash, #to_s
Constructor Details
#initialize(*args) ⇒ Layer
Returns a new instance of Layer.
6 7 8 9 |
# File 'lib/super_stack/layer.rb', line 6 def initialize(*args) super(*args) SuperStack::LayerWrapper.from_hash self end |