{"image_url":null,"blog_title":"Camera Obscura","title":"Python \u306e\u5185\u5305\u8868\u8a18\u3068 Ruby \u306e each_with_object","author_name":"obelisk2","categories":["Ruby","Python"],"published":"2016-09-27 23:10:39","blog_url":"https://obelisk.hatenablog.com/","provider_name":"Hatena Blog","description":"kiito.hatenablog.com\u3053\u306e\u8a18\u4e8b\u306f\u52c9\u5f37\u306b\u306a\u308a\u307e\u3057\u305f\u3002Python \u306e\u5185\u5305\u8868\u8a18\u3067 def create_url_table(urls) return {url: get_title(url) for url in urls if 'google' not in url} \u3068\u66f8\u304f\u306e\u3092\u3001Ruby \u306e each_with_object \u3092\u4f7f\u3046\u3068 def create_url_table(urls) urls.each_with_object({}) do |url, hash| hash[url] = get_title(url) unless url.match(/google/) \u2026","author_url":"https://blog.hatena.ne.jp/obelisk2/","provider_url":"https://hatena.blog","type":"rich","version":"1.0","url":"https://obelisk.hatenablog.com/entry/2016/09/27/231039","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F09%2F27%2F231039\" title=\"Python \u306e\u5185\u5305\u8868\u8a18\u3068 Ruby \u306e each_with_object - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}