class Qt::MethodInvocation

Public Class Methods

new(target, method, signature) click to toggle source
Calls superclass method
# File lib/Qt/qtruby4.rb, line 2489
def initialize(target, method, signature)
  super(target)
  if metaObject.indexOfSlot(signature) == -1
    self.class.slots signature
  end
  @target = target
  method = method.intern unless method.is_a?Symbol
  @method = method
end

Public Instance Methods

invoke(*args) click to toggle source
# File lib/Qt/qtruby4.rb, line 2499
def invoke(*args)
  @target.send @method, *args
end