Sha256: 025764efe48cabf189c8dcb615a60a89951cebbf3d7896fbc14a20c87228a20b
Contents?: true
Size: 491 Bytes
Versions: 8
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true require_relative './filter' require_relative '../../libinput_command' module Fusuma module Plugin module Filters # Filter device log class LibinputTimeoutFilter < Filter DEFAULT_SOURCE = 'libinput_command_input' # @return [TrueClass] when keeping it # @return [FalseClass] when discarding it def keep?(record) record.to_s == LibinputCommand::TIMEOUT_MESSAGE end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems