{"description":"Redis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b - (\uff9f\u2200\uff9f)o\u5f61 sasata299's blog \u3092\u81ea\u5206\u304c\u3084\u3063\u305f\u3089\u3053\u3093\u306a\u611f\u3058\u304b\u306a\u3068\u601d\u3063\u3066\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u5b9f\u884c\u74b0\u5883\u306fRuby 2.0.0-p0\u3067\u3059\u3002 #!/usr/bin/env ruby require 'redis' require 'pp' class Leaderboard class Entry attr_reader :user_id, :score, :rank def initialize(user_id, score, rank) @user_id = user_id @score = score @rank = rank end \u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/gfx/","published":"2013-04-24 17:22:54","title":" Ruby+Redis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b","url":"https://gfx.hatenadiary.org/entry/20130424/1366791774","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51rcnZJm8PL._SL160_.jpg","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20130424%2F1366791774\" title=\" Ruby+Redis\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b - Islands in the byte stream (legacy)\" 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%","blog_title":"Islands in the byte stream (legacy)","author_name":"gfx","categories":[],"provider_url":"https://hatena.blog","height":"190","blog_url":"https://gfx.hatenadiary.org/"}