Class: Proteus::ComponentClass
- Inherits:
-
Object
- Object
- Proteus::ComponentClass
- Defined in:
- lib/ComponentClass.rb
Constant Summary collapse
- DEFAULT_CLASS =
ComponentClass.new()
Instance Attribute Summary collapse
-
#children ⇒ Object
————————————————————————— Properties —————————————————————————.
-
#name ⇒ Object
————————————————————————— Properties —————————————————————————.
-
#namespace ⇒ Object
————————————————————————— Properties —————————————————————————.
-
#parent ⇒ Object
————————————————————————— Properties —————————————————————————.
-
#properties ⇒ Object
————————————————————————— Properties —————————————————————————.
Instance Method Summary collapse
-
#initialize ⇒ ComponentClass
constructor
————————————————————————— Constructor —————————————————————————.
Constructor Details
#initialize ⇒ ComponentClass
Constructor
35 36 37 38 |
# File 'lib/ComponentClass.rb', line 35 def initialize( ) @properties = {} @children = [] end |
Instance Attribute Details
#children ⇒ Object
Properties
46 47 48 |
# File 'lib/ComponentClass.rb', line 46 def children @children end |
#name ⇒ Object
Properties
46 47 48 |
# File 'lib/ComponentClass.rb', line 46 def name @name end |
#namespace ⇒ Object
Properties
46 47 48 |
# File 'lib/ComponentClass.rb', line 46 def namespace @namespace end |
#parent ⇒ Object
Properties
46 47 48 |
# File 'lib/ComponentClass.rb', line 46 def parent @parent end |
#properties ⇒ Object
Properties
46 47 48 |
# File 'lib/ComponentClass.rb', line 46 def properties @properties end |