{"provider_url":"https://hatena.blog","blog_title":"Bye Bye Moore","type":"rich","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","categories":["ruby"],"version":"1.0","height":"190","url":"https://shuzo-kino.hateblo.jp/entry/2015/07/05/225611","description":"Rubinus\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u305f\u3089\u767a\u898b\u3057\u305f\u306e\u3067\u30e1\u30e2\u3002 \u901a\u5e38\u3001\u30e1\u30bd\u30c3\u30c9\u306f\u6bd4\u8f03\u306b\u4f7f\u3046\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002 \u3053\u308c\u3092\u7570\u306a\u308b\u30af\u30e9\u30b9\u9593\u3067\u3064\u304b\u3063\u305f\u5834\u5408\u2026\u2026nil\u3092\u8fd4\u3057\u307e\u3059\u3002 1 <=> \"a\" # >> nil 1 <=> (1..9) # >> nil \u3053\u306e\u7279\u6027\u3092\u751f\u304b\u3057\u3066 class Range include Enumerable #\u7565 def cover?(value) # MRI uses <=> to compare, so must we. beg_compare = (@begin <=> value) return false unless beg_compare #\u7565 end #\u7565 end \u53c2\u8003\u3082\u2026","provider_name":"Hatena Blog","published":"2015-07-05 22:56:11","image_url":null,"title":"<=>\u30e1\u30bd\u30c3\u30c9\u306f\u30af\u30e9\u30b9\u6bd4\u8f03\u306b\u3082\u4f7f\u3048\u308b","width":"100%","blog_url":"https://shuzo-kino.hateblo.jp/","author_name":"shuzo_kino","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2015%2F07%2F05%2F225611\" title=\"&lt;=&gt;\u30e1\u30bd\u30c3\u30c9\u306f\u30af\u30e9\u30b9\u6bd4\u8f03\u306b\u3082\u4f7f\u3048\u308b - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}