Class: When::BasicTypes::Object

Inherits:
Object
  • Object
show all
Includes:
Parts::Resource
Defined in:
lib/when_exe/basictypes.rb

Overview

Abstract class for instance having permanent life with IRI

see Parts::Resource see gml schema

Constant Summary

Constants included from Parts::Resource

Parts::Resource::LabelProperty, Parts::Resource::Prefix, Parts::Resource::PrefixIndex, Parts::Resource::PrefixKeys, Parts::Resource::PrefixValues

Instance Attribute Summary collapse

Attributes included from Parts::Resource

#_pool, #child, #keys, #locale, #namespace

Instance Method Summary collapse

Methods included from Parts::Resource

#[], #^, _extract_prefix, _instance, _parse, _path_with_prefix, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?

Methods included from Parts::Resource::Pool

#[], #[]=, #_pool, #_setup_, #pool_keys

Methods included from Parts::Resource::Synchronize

#synchronize

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class When::Parts::Resource

Instance Attribute Details

#labelString, When::BasicTypes::M17n (readonly)

名前



499
500
501
# File 'lib/when_exe/basictypes.rb', line 499

def label
  @label
end

Instance Method Details

#tap {|_self| ... } ⇒ Object

tap - yield による処理のチェーン化

Yields:

  • (_self)

Yield Parameters:



506
507
508
509
# File 'lib/when_exe/basictypes.rb', line 506

def tap
  yield(self)
  self
end