# Represents a keyboard character. class KeyboardChar attr_reader :char def initialize(char) @char = char self end end