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 Parts::Resource
Parts::Resource::ConstList, Parts::Resource::ConstTypes, Parts::Resource::IRIDecode, Parts::Resource::IRIDecodeTable, Parts::Resource::IRIEncode, Parts::Resource::IRIEncodeTable, Parts::Resource::IRIHeader, Parts::Resource::LabelProperty
Instance Attribute Summary collapse
-
#primitive ⇒ Array<When::TM::TopologicalPrimitive>
readonly
対応するプリミティブ (relation - Complex).
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#_pool, #child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#initialize(primitive) ⇒ TopologicalComplex
constructor
オブジェクトの生成.
Methods included from Parts::Resource
#[], #^, _abbreviation_to_iri, _decode, _encode, _extract_prefix, _instance, _instantiate, _parse, _path_with_prefix, _replace_tags, _setup_, _setup_info, _simplify_path, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?, root_dir
Methods included from Parts::Resource::Pool
#[], #[]=, #_pool, #_setup_, #pool_keys
Methods included from Parts::Resource::Synchronize
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 |