This commit is contained in:
Bill Rossi 2025-08-16 15:59:40 -04:00
parent 9df060a124
commit 6612483ac4
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,6 @@ module Commands
class Command class Command
def self.inherited(klass) def self.inherited(klass)
p klass
Commands.register_command klass Commands.register_command klass
end end

View File

@ -21,11 +21,11 @@ class KanaKanji
@kanji = kanji || kana @kanji = kanji || kana
end end
def [] (index) def [](index)
self.class.new kana[index], kanji[index] self.class.new kana[index], kanji[index]
end end
def + (other) def +(other)
case other case other
when String when String
self.class.new kana + other, kanji + other self.class.new kana + other, kanji + other