Class: KnowledgeClass::KnowledgeClassDescription
- Inherits:
-
Object
- Object
- KnowledgeClass::KnowledgeClassDescription
- Defined in:
- lib/cirrocumulus/facts.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#primary_key ⇒ Object
Returns the value of attribute primary_key.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(klass) ⇒ KnowledgeClassDescription
constructor
A new instance of KnowledgeClassDescription.
Constructor Details
#initialize(klass) ⇒ KnowledgeClassDescription
Returns a new instance of KnowledgeClassDescription.
49 50 51 52 |
# File 'lib/cirrocumulus/facts.rb', line 49 def initialize(klass) @name = klass.name @properties = [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
45 46 47 |
# File 'lib/cirrocumulus/facts.rb', line 45 def name @name end |
#primary_key ⇒ Object
Returns the value of attribute primary_key.
46 47 48 |
# File 'lib/cirrocumulus/facts.rb', line 46 def primary_key @primary_key end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
47 48 49 |
# File 'lib/cirrocumulus/facts.rb', line 47 def properties @properties end |