{"title":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u9806\u5e8f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmas-higa.hatenadiary.org%2Fentry%2F20090708%2F1247060224\" title=\"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u9806\u5e8f - \u3072\u304c\u304d\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://mas-higa.hatenadiary.org/entry/20090708/1247060224","published":"2009-07-08 22:37:04","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/mas-higa/","blog_title":"\u3072\u304c\u304d\u306e\u65e5\u8a18","image_url":null,"blog_url":"https://mas-higa.hatenadiary.org/","author_name":"mas-higa","description":"\u81ea\u4f5c\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092 Array \u306b\u8a70\u3081\u3066 sort \u3057\u3066\u307f\u308b\u3002 class OreOre def initialize(val) @value = val end attr_accessor :value def inspect; \"o:#{@value}\" end end ary = 5.downto(1).inject([]){|a, i| a << OreOre.new(i)} # => [o:5, o:4, o:3, o:2, o:1] ary.sort # ~> -:8:in `sort': undefined method `<=>' for 5:OreOre (NoMet\u2026","version":"1.0","provider_url":"https://hatena.blog","categories":["Ruby"],"height":"190","width":"100%"}