{"type":"rich","width":"100%","title":" \u7a7a\u6c17\u306d\u3053\u306b\u3082\u304a\u304a\u3088\u305d\u5206\u304b\u308b\u306b\u3093\u3052\u3093\u306f\u725b\u3067\u306f\u306a\u3044\u3053\u3068\u3092 RSpec \u3067\u8a3c\u660e\u3057\u3066\u307f\u305f","categories":["ruby","RSpec"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoqisofon.hatenablog.com%2Fentry%2F2019%2F03%2F28%2F222744\" title=\" \u7a7a\u6c17\u306d\u3053\u306b\u3082\u304a\u304a\u3088\u305d\u5206\u304b\u308b\u306b\u3093\u3052\u3093\u306f\u725b\u3067\u306f\u306a\u3044\u3053\u3068\u3092 RSpec \u3067\u8a3c\u660e\u3057\u3066\u307f\u305f - \u60f3\u50cf\u529b\u306e\u6b20\u5982\u306f\u6df1\u523b\u306a\u6b20\u70b9\u306e\u4e00\u3064\u3067\u3042\u308b\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30cd\u30c3\u30c8\u30df\u30fc\u30e0\u3092\u30b3\u30fc\u30c9\u3067\u8868\u73fe\u3057\u3066\u307f\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u30b7\u30ea\u30fc\u30ba\u3002 \u307e\u3042\u3001\u306b\u3093\u3052\u3093(Human)\u3068\u725b(Cow)\u306e\u62bd\u8c61\u30af\u30e9\u30b9 Animal \u3092\u5b9a\u7fa9\u3059\u308b: # lib/animal.rb class Animal end \u4e2d\u8eab\u306f\u4f55\u3082\u7121\u3044\u3051\u3069\u3001\u305d\u306e\u3046\u3061\u5b9f\u88c5\u3055\u308c\u308b\u3063\u3057\u3087\u3002\u30d8\u30fc\u30ad\u30d8\u30fc\u30ad\u3002 \u3053\u3053\u3089\u8fba\u3067 Animal \u30af\u30e9\u30b9\u5fc5\u8981\u306a\u3044\u306a\u3063\u3066\u601d\u3063\u305f\u3051\u3069\u3001\u307e\u3042\u3044\u3044\u304b\u3002 \u3042\u3042\u3001\u6b21\u306f\u725b\u3068\u306b\u3093\u3052\u3093\u3060\u2026\u3002 # lib/cow.rb require_relative 'animal' class Cow < Animal end \u6b21\u306f\u306b\u3093\u3052\u3093\u3002 # lib/human.rb require_relative 'animal' cla\u2026","version":"1.0","image_url":null,"author_url":"https://blog.hatena.ne.jp/noqisofon/","provider_url":"https://hatena.blog","url":"https://noqisofon.hatenablog.com/entry/2019/03/28/222744","author_name":"noqisofon","blog_title":"\u60f3\u50cf\u529b\u306e\u6b20\u5982\u306f\u6df1\u523b\u306a\u6b20\u70b9\u306e\u4e00\u3064\u3067\u3042\u308b\u3002","blog_url":"https://noqisofon.hatenablog.com/","height":"190","provider_name":"Hatena Blog","published":"2019-03-28 22:27:44"}