Class: DevSystem::AppShell::Layer
- Inherits:
-
Object
- Object
- DevSystem::AppShell::Layer
- Defined in:
- lib/dev_system/subsystems/shell/shells/app_shell.rb
Overview
A PORO representing a layer in a namespace of LizaRB.
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(level:, name:, color:, path:, objects:) ⇒ Layer
constructor
A new instance of Layer.
Constructor Details
#initialize(level:, name:, color:, path:, objects:) ⇒ Layer
Returns a new instance of Layer.
673 674 675 676 677 678 679 |
# File 'lib/dev_system/subsystems/shell/shells/app_shell.rb', line 673 def initialize(level: , name: , color: , path: , objects: ) @level = level @name = name @color = color @path = path @objects = objects end |
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color.
681 682 683 |
# File 'lib/dev_system/subsystems/shell/shells/app_shell.rb', line 681 def color @color end |
#level ⇒ Object (readonly)
Returns the value of attribute level.
681 682 683 |
# File 'lib/dev_system/subsystems/shell/shells/app_shell.rb', line 681 def level @level end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
681 682 683 |
# File 'lib/dev_system/subsystems/shell/shells/app_shell.rb', line 681 def name @name end |
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
681 682 683 |
# File 'lib/dev_system/subsystems/shell/shells/app_shell.rb', line 681 def objects @objects end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
681 682 683 |
# File 'lib/dev_system/subsystems/shell/shells/app_shell.rb', line 681 def path @path end |