{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2020%2F12%2F20%2F221012\" title=\"\u3010\u4e00\u4eba bugs.ruby Advent Calendar 2020\u3011[Bug #17017] Range#max &amp; Range#minmax incorrectly use Float end as max\u301020\u65e5\u76ee\u3011 - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4e00\u4eba bugs.ruby Advent Calendar 2020 20\u65e5\u76ee\u306e\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002 \u8aa4\u89e3\u3057\u306a\u3044\u3088\u3046\u306b\u6700\u521d\u306b\u66f8\u3044\u3066\u304a\u304f\u3068\u3053\u306e\u30c1\u30b1\u30c3\u30c8\u306b\u3088\u308b Ruby 3.0 \u3078\u306e\u5f71\u97ff\u306f\u3042\u308a\u307e\u305b\u3093\u3002 [Bug #17017] Range#max & Range#minmax incorrectly use Float end as max \u3053\u306e\u30c1\u30b1\u30c3\u30c8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b range.max \u3068 range.to_a.max \u3067\u5dee\u7570\u304c\u3042\u308a\u4e00\u8cab\u6027\u304c\u306a\u3044\u306e\u3067\u5bfe\u51e6\u3057\u3088\u3046\u3001\u3068\u3044\u3046\u65e8\u306e\u30c1\u30b1\u30c3\u30c8\u3067\u3059\u3002 # # \u3053\u308c\u306f\u671f\u5f85\u3059\u308b\u6319\u52d5 (1..3.1).to_a == [1, 2, 3] # to_a \u3092\u7d4c\u7531\u3057\u305f\u5834\u5408\u306e\u7d50\u679c \u2026","title":"\u3010\u4e00\u4eba bugs.ruby Advent Calendar 2020\u3011[Bug #17017] Range#max & Range#minmax incorrectly use Float end as max\u301020\u65e5\u76ee\u3011","provider_url":"https://hatena.blog","image_url":null,"blog_title":"Secret Garden(Instrumental)","author_name":"osyo-manga","width":"100%","blog_url":"https://secret-garden.hatenablog.com/","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/osyo-manga/","categories":["AdventCalendar","Ruby","bugs.ruby"],"url":"https://secret-garden.hatenablog.com/entry/2020/12/20/221012","height":"190","published":"2020-12-20 22:10:12","type":"rich","version":"1.0"}