class Gtk::Action
Public Instance Methods
Source
# File lib/rabbit/gtk.rb, line 30 def activate(&block) @block = block _activate ensure @block = nil end
Also aliased as: _activate
Source
# File lib/rabbit/gtk.rb, line 41 def call(*args, &block) @block.call(*args, &block) end