Class: QProc::SlotProc
- Inherits:
-
Qt::Widget
- Object
- Qt::Widget
- QProc::SlotProc
- Defined in:
- lib/QParser.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(block) ⇒ SlotProc
constructor
A new instance of SlotProc.
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
#call ⇒ Object
120 |
# File 'lib/QParser.rb', line 120 def call; @block.call; end |