Method: When::RS::Identifier#method_missing

Defined in:
lib/when_exe/basictypes.rb

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

Note:

When::RS::Identifier で定義されていないメソッドは処理を @name (type: When::BasicTypes::Code) に委譲する

その他のメソッド


714
715
716
717
718
719
720
721
# File 'lib/when_exe/basictypes.rb', line 714

def method_missing(name, *args, &block)
  self.class.module_eval %Q{
    def #{name}(*args, &block)
      @name.send("#{name}", *args, &block)
    end
  } unless When::Parts::MethodCash.escape(name)
  @name.send(name, *args, &block)
end