Class: ActiveFacts::API::ObjectifiedFactType
- Defined in:
- lib/activefacts/api/fact_type.rb
Instance Attribute Summary collapse
-
#objectified_as ⇒ Object
readonly
The roles of an ObjectifiedFactType are roles in the link fact types.
Attributes inherited from FactType
Method Summary
Methods inherited from FactType
Constructor Details
This class inherits a constructor from ActiveFacts::API::FactType
Instance Attribute Details
#objectified_as ⇒ Object (readonly)
The roles of an ObjectifiedFactType are roles in the link fact types. This means that all_role.fact_type does not point to this fact type, as would normally be the case. invariant { self.all_role.each {|role| role.counterpart.object_type == self.objectified_as } }
25 26 27 |
# File 'lib/activefacts/api/fact_type.rb', line 25 def objectified_as @objectified_as end |