Class: When::TM::TopologicalComplex
- Inherits:
-
Complex
- Object
- BasicTypes::Object
- Object
- Complex
- When::TM::TopologicalComplex
- Defined in:
- lib/when_exe/tmobjects.rb
Overview
Constant Summary
Constants included from Namespace
Namespace::DC, Namespace::DCQ, Namespace::DCT, Namespace::FOAF, Namespace::OWL, Namespace::RDF, Namespace::RDFC, Namespace::RDFS, Namespace::RSS, Namespace::XSD
Instance Attribute Summary collapse
-
#primitive ⇒ Array<When::TM::TopologicalPrimitive>
readonly
対応するプリミティブ (relation - Complex).
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#initialize(primitive) ⇒ TopologicalComplex
constructor
オブジェクトの生成.
Methods included from Parts::Resource
#[], #^, _instance, _setup_, _setup_info, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #parent, #registered?, root_dir
Methods included from Parts::Resource::Pool
Constructor Details
#initialize(primitive) ⇒ TopologicalComplex
オブジェクトの生成
125 126 127 128 129 130 |
# File 'lib/when_exe/tmobjects.rb', line 125 def initialize(primitive) @primitive = primitive @primitive.each do |p| p.complex << self end end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class When::Parts::Resource
Instance Attribute Details
#primitive ⇒ Array<When::TM::TopologicalPrimitive> (readonly)
対応するプリミティブ (relation - Complex)
119 120 121 |
# File 'lib/when_exe/tmobjects.rb', line 119 def primitive @primitive end |