Sha256: f2e3867ff18debb5aaae6db3f119fa86c4068620c74d31fffbe5aaa06519cba4
Contents?: true
Size: 298 Bytes
Versions: 2
Compression:
Stored size: 298 Bytes
Contents
module Mac module EventMonitor class MouseEvent < Event attr_reader :button def initialize(type, time, location, button) super(type, time, location) @button = button && button.to_sym end def data super + [button] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mac-event-monitor-0.2.1 | lib/mac-event-monitor/event/mouse_event.rb |
mac-event-monitor-0.2.0 | lib/mac-event-monitor/event/mouse_event.rb |