Sha256: 70ae28d81cebdd0d537adbd16984c3c532318d1e4e6ba9415cf970796e411b63
Contents?: true
Size: 666 Bytes
Versions: 81
Compression:
Stored size: 666 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'ruby-event' module RubyApp module Elements require 'ruby_app/element' class Click < RubyApp::Element class ClickedEvent < RubyApp::Element::Event def initialize(data) super(data) end end template_path(:all, File.dirname(__FILE__)) event :clicked def initialize super end protected def on_event(event) on_clicked(event) if event.is_a?(RubyApp::Elements::Click::ClickedEvent) super(event) end def on_clicked(event) clicked(event) end end end end
Version data entries
81 entries across 81 versions & 1 rubygems