Class: Languages::Metadata
- Inherits:
-
Object
- Object
- Languages::Metadata
- Defined in:
- lib/kuniri/language/metadata.rb
Overview
Keep important information for second parser.
Instance Attribute Summary collapse
-
#allAggregations ⇒ Object
!@attribute All aggregation in classes.
-
#allClasses ⇒ Object
!@attribute All classes to be analysed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize ⇒ Metadata
Returns a new instance of Metadata.
12 13 14 15 |
# File 'lib/kuniri/language/metadata.rb', line 12 def initialize @allClasses = [] @allAggregations = [] end |
Instance Attribute Details
#allAggregations ⇒ Object
!@attribute All aggregation in classes.
10 11 12 |
# File 'lib/kuniri/language/metadata.rb', line 10 def allAggregations @allAggregations end |
#allClasses ⇒ Object
!@attribute All classes to be analysed.
9 10 11 |
# File 'lib/kuniri/language/metadata.rb', line 9 def allClasses @allClasses end |
Class Method Details
.create ⇒ Object
17 18 19 20 |
# File 'lib/kuniri/language/metadata.rb', line 17 def Metadata.create @@metadata = new unless @@metadata return @@metadata end |