Sub-classing Fixnum in ruby

前端 未结 3 1009
猫巷女王i
猫巷女王i 2020-12-15 12:20

So I understand you aren\'t supposed to to directly subclass Fixnum, Float or Integer, as they don\'t have a #new method. Using DelegateClass seems to work though, but is it

3条回答
提交回复
热议问题