Class: DevSystem::AppShell::Layer

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#colorObject (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

#levelObject (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

#nameObject (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

#objectsObject (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

#pathObject (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