Method: Controls::Event#inspect

Defined in:
lib/controls/objects/event.rb

#inspectString

Overrides #inspect to use the proper event type

Returns:

  • (String)

    the result of super with the corrected event type



18
19
20
# File 'lib/controls/objects/event.rb', line 18

def inspect
  super.sub('Event', type)
end