Class: Fusuma::Plugin::Parsers::AppmatcherParser
- Inherits:
-
Parser
- Object
- Parser
- Fusuma::Plugin::Parsers::AppmatcherParser
- Defined in:
- lib/fusuma/plugin/parsers/appmatcher_parser.rb
Overview
Generate AppmatcherRecord from libinput_command_input
Constant Summary collapse
- DEFAULT_SOURCE =
"appmatcher_input"
Instance Method Summary collapse
Instance Method Details
#parse_record(record) ⇒ Records::Gesture?
12 13 14 15 |
# File 'lib/fusuma/plugin/parsers/appmatcher_parser.rb', line 12 def parse_record(record) line = record.to_s Events::Records::AppmatcherRecord.new(name: line) end |