From 6612483ac437fc2e548d89255c163bb5ee54b902 Mon Sep 17 00:00:00 2001 From: Bill Rossi Date: Sat, 16 Aug 2025 15:59:40 -0400 Subject: [PATCH] Cleanup --- lib/commands/command.rb | 1 - lib/verb.rb | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/commands/command.rb b/lib/commands/command.rb index cfdc7b6..f6f47c0 100644 --- a/lib/commands/command.rb +++ b/lib/commands/command.rb @@ -11,7 +11,6 @@ module Commands class Command def self.inherited(klass) - p klass Commands.register_command klass end diff --git a/lib/verb.rb b/lib/verb.rb index e93f290..b5b11ac 100644 --- a/lib/verb.rb +++ b/lib/verb.rb @@ -21,11 +21,11 @@ class KanaKanji @kanji = kanji || kana end - def [] (index) + def [](index) self.class.new kana[index], kanji[index] end - def + (other) + def +(other) case other when String self.class.new kana + other, kanji + other