main
1module Signal
2  def on(event, &command)
3    self.signal_connect(event.to_s) do |*args|
4      command.call(*args)
5    end
6  end
7end