Sha256: 08af2fc716cd549f55a74f1beb3e038c840ddc931a32aab993386a8d3c4a8e1a
Contents?: true
Size: 528 Bytes
Versions: 25
Compression:
Stored size: 528 Bytes
Contents
require 'xot/const_symbol_accessor' require 'reflex/ext' module Reflex class ContactEvent < Event alias get_action action const_symbol_reader :action, **{ none: ACTION_NONE, begin: ContactEvent::BEGIN, end: ContactEvent::END } def begin?() get_action == ContactEvent::BEGIN end def end?() get_action == ContactEvent::END end def inspect() "#<Reflex::ContactEvent #{action} shape:#{shape} view:#{view}>" end end# ContactEvent end# Reflex
Version data entries
25 entries across 25 versions & 1 rubygems