lib/reflex/pointer.rb in reflexion-0.1.23 vs lib/reflex/pointer.rb in reflexion-0.1.24

- old
+ new

@@ -11,14 +11,14 @@ class Pointer include Comparable - alias type get_type + alias types get_type alias action get_action - bit_flag_reader :type, **{ + bit_flag_reader :types, **{ none: TYPE_NONE, mouse: MOUSE, mouse_left: MOUSE_LEFT, mouse_right: MOUSE_RIGHT, mouse_middle: MOUSE_MIDDLE, @@ -96,10 +96,10 @@ def <=>(o) inspect <=> o.inspect end def inspect() - "#<Reflex::Pointer id:#{id} #{type} #{action} (#{x.round 2}, #{y.round 2}) mod:#{modifiers} click:#{click_count} drag:#{drag?} time:#{time.round 2}>" + "#<Reflex::Pointer id:#{id} #{types} #{action} (#{x.round 2}, #{y.round 2}) mod:#{modifiers} click:#{click_count} drag:#{drag?} time:#{time.round 2}>" end end# Pointer