Method: When::EX::Extent#method_missing

Defined in:
lib/when_exe/basictypes.rb

#method_missing(name, *args, &block) ⇒ Object

Note:

When::EX::Extent で定義されていないメソッドは処理を @temporal_extent (type: When::TM::Period) に委譲する

その他のメソッド



760
761
762
763
764
765
766
767
768
769
# File 'lib/when_exe/basictypes.rb', line 760

def method_missing(name, *args, &block)
  self.class.module_eval %Q{
    def #{name}(*args, &block)
      list = args.map {|arg| arg.kind_of?(self.class) ? arg.temporal_extent : arg}
      @temporal_extent.send("#{name}", *list, &block)
    end
  } unless When::Parts::MethodCash.escape(name)
  list = args.map {|arg| arg.kind_of?(self.class) ? arg.temporal_extent : arg}
  @temporal_extent.send(name, *list, &block)
end