Test#call_echo から Test.echo が呼べそうな気がするんだけど、呼ばれないんだな。 class Test def echo puts "echo" end def self.echo puts "self echo" end def call_echo echo self.echo end def self.call_echo echo self.echo end end Test.new.echo …
まだまだ大丈夫。
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。