class I3Ipc::WrongEvent
Throws when subscribing to an invalid event. Valid events are listed in function event_number().
Public Class Methods
new(event_name)
click to toggle source
# File lib/i3ipc/connection.rb, line 8 def initialize(event_name) @event_name = event_name end
Public Instance Methods
message()
click to toggle source
# File lib/i3ipc/connection.rb, line 12 def message %Q{Tried to subscribe to invalid event type '#{@event_name}'} end