{"type":"rich","title":"Enumerable\u306eMix-In\u306e\u30b5\u30f3\u30d7\u30eb","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20121201%2F1354381492\" title=\"Enumerable\u306eMix-In\u306e\u30b5\u30f3\u30d7\u30eb - Tbpgr Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://tbpgr.hatenablog.com/","width":"100%","blog_title":"Tbpgr Blog","provider_url":"https://hatena.blog","author_name":"tbpg","provider_name":"Hatena Blog","description":"\u6982\u8981 Enumerable\u306eMix-In\u306e\u30b5\u30f3\u30d7\u30eb \u8a73\u7d30 Enumerable\u3092Mix-In\u3059\u308b\u3053\u3068\u3067\u3001\u69d8\u3005\u306a\u7e70\u308a\u8fd4\u3057\u64cd\u4f5c\u304c\u53ef\u80fd\u3067\u3059\u3002 Enumerable\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u5185\u90e8\u3067each\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001 each\u3092\u5b9f\u88c5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb\u4ed5\u69d8 \u8907\u6570\u306e\u751f\u5f92\u3092\u6301\u3064\u5148\u751f\u30af\u30e9\u30b9\u3092\u60f3\u5b9a \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 # encoding: Windows-31J require \"pp\" class Teacher attr_accessor :students include Enumerable def each students.each {|student|yield student} end en\u2026","published":"2012-12-01 02:04:52","height":"190","categories":["Ruby"],"url":"https://tbpgr.hatenablog.com/entry/20121201/1354381492","image_url":null,"author_url":"https://blog.hatena.ne.jp/tbpg/"}