{"height":"190","provider_name":"Hatena Blog","blog_url":"https://rubytips86.hatenablog.com/","version":"1.0","description":"\u914d\u5217\u306e\u5dee\u3092\u53d6\u308b\u306b\u306fArray#-\u3092\u4f7f\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002 \u3053\u308c\u3067\u5de6\u8fba\u306e\u914d\u5217\u304b\u3089\u53f3\u8fba\u306e\u914d\u5217\u306b\u3042\u308b\u8981\u7d20\u304c\u3059\u3079\u3066\u53d6\u308a\u9664\u304b\u308c\u308b\u3002 a1 = [\"apple\", \"orange\", \"mango\"] a2 = [\"orange\"] p a1 - a2 #=> [\"apple\", \"mango\"] \u306a\u304a\u91cd\u8907\u3057\u305f\u8981\u7d20\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u3059\u3079\u3066\u306e\u8981\u7d20\u304c\u53d6\u308a\u9664\u304b\u308c\u308b\u3002 a1 = [\"apple\", \"apple\", \"apple\"] a2 = [\"apple\"] p a1 - a2 #=> []","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubytips86.hatenablog.com%2Fentry%2F2014%2F03%2F24%2F125642\" title=\"\u914d\u5217\u306e\u5dee\u3092\u53d6\u308b - Ruby Tips!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"title":"\u914d\u5217\u306e\u5dee\u3092\u53d6\u308b","provider_url":"https://hatena.blog","width":"100%","image_url":null,"author_name":"rubytips86","published":"2014-03-24 12:56:42","blog_title":"Ruby Tips!","url":"https://rubytips86.hatenablog.com/entry/2014/03/24/125642","author_url":"https://blog.hatena.ne.jp/rubytips86/","type":"rich"}