Sha256: 8f177279fd04b1018f986b73cc1a0d3af68338cadb80238724c07bc810952494
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 Bytes
Contents
require 'tamashii/agent/event' require 'tamashii/agent/handler/base' module Tamashii module Agent module Handler class Lcd < Base def resolve(data) case type when Type::LCD_MESSAGE @master.send_event(Event.new(Event::LCD_MESSAGE, data)) when Type::LCD_SET_IDLE_TEXT @master.send_event(Event.new(Event::LCD_SET_IDLE_TEXT, data)) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems