{"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgamelinks007.hatenablog.com%2Fentry%2F2020%2F08%2F25%2F230244\" title=\"Kernel#iterator?\u3067\u8b66\u544a\u3092\u51fa\u3059 - \u30b2\u30fc\u30e0\u30ea\u30f3\u30af\u30b9\u306e\u5f92\u7136\u306a\u308b\u65e5\u5e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"version":"1.0","categories":["C","Ruby","\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2"],"author_url":"https://blog.hatena.ne.jp/gamelinks007/","published":"2020-08-25 23:02:44","url":"https://gamelinks007.hatenablog.com/entry/2020/08/25/230244","provider_url":"https://hatena.blog","blog_url":"https://gamelinks007.hatenablog.com/","type":"rich","author_name":"gamelinks007","width":"100%","description":"\u7d50\u8ad6 \u30d6\u30ed\u30c3\u30af\u3092\u6e21\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u771f\u507d\u5024\u3092\u8fd4\u3059Kernel#iterator?\u3092deprecated\u306b\u3057\u3088\u3046\u305c\u3068\u3044\u3046\u8a71 Kernel#iterator? Kernel#iterator?\u306f\u30d6\u30ed\u30c3\u30af\u304c\u6e21\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3067\u304d\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002 def check if iterator? puts \"Block is given.\" else puts \"Block isn't given.\" end end check{} #=> Block is given. check #=> Block isn't given. \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u308b\u308a\u307e\u304b\u3089\u304a\u501f\u308a\u3057\u307e\u3057\u305f\u3002docs\u2026","title":"Kernel#iterator?\u3067\u8b66\u544a\u3092\u51fa\u3059","height":"190","blog_title":"\u30b2\u30fc\u30e0\u30ea\u30f3\u30af\u30b9\u306e\u5f92\u7136\u306a\u308b\u65e5\u5e38"}