Class: QProc::SlotProc

Inherits:
Qt::Widget
  • Object
show all
Defined in:
lib/QParser.rb

Instance Method Summary collapse

Constructor Details

#initialize(block) ⇒ SlotProc

Returns a new instance of SlotProc.



114
115
116
117
# File 'lib/QParser.rb', line 114

def initialize(block)
  super nil
  @block = block
end

Instance Method Details

#callObject



120
# File 'lib/QParser.rb', line 120

def call; @block.call; end