Cleanup
This commit is contained in:
parent
9df060a124
commit
6612483ac4
@ -11,7 +11,6 @@ module Commands
|
||||
|
||||
class Command
|
||||
def self.inherited(klass)
|
||||
p klass
|
||||
Commands.register_command klass
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user