# File lib/rubygame/events/mouse_events.rb, line 46 def initialize( pos, button ) unless button.kind_of? Symbol raise ArgumentError, "button must be a :symbol" end @button = button @pos = pos.to_ary.dup @pos.freeze end