https://gyazo.com/5f2c99cc7cd0e6c50f428f9b3e2f5762 - animal.rb
https://gyazo.com/6044bf09294a415189b3359966350a22 - thinkable.rb
https://gyazo.com/b727cb7a5063b31f6e7874c652658b68 - human.rb
https://gyazo.com/4fcab3308d691c2a92ceddf5518560f9 - main.rb
https://gyazo.com/39e874bca5f77206641ed0182c7c5a73 - ターミナルでの処理の結果
モジュールや継承などを使って作りましたが、思うような処理がされません。
画像にまとめましたので、どなたか分かる方、お手数おかけしますが宜しくお願いします。
あなたの回答
tips
プレビュー