Ruby
サブクラスを呼び出したかったがそうはならない。 class A def self.inherited(child) p child child.aaa B.aaa aaa end def self.aaa p "A" end end class B < A def self.aaa p "B" end end p "#" * 40 B.aaa 実行結果 B "A" "A" "A" "###################…
環境 Ubuntu16.04 Ruby2.4.1 Rails5.1.0 rails new したあとに rails webpacker:install:react すればよいと聞いていたのでやってみるがエラーが出た $ bundle exec rails webpacker:install:react Node.js not installed. Please download and install Node…