{"categories":["Ruby"],"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F02%2F03%2F040307\" title=\"\u30cf\u30c3\u30b7\u30e5\u3067\u540c\u4e00\u306e\u5024\u3092\u6301\u3064\u30ad\u30fc\u3092\u96c6\u3081\u308b\uff08Ruby\uff09 - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/obelisk2/","description":"\u7d44\u307f\u8fbc\u307f\u30e1\u30bd\u30c3\u30c9\u306b\u306a\u3044\u3088\u3046\u306a\u3002\u914d\u5217\u3067\u8fd4\u3057\u307e\u3059\u3002\u307e\u3042\u3001\u672c\u6765\u306e\u30cf\u30c3\u30b7\u30e5\u306e\u4f7f\u3044\u65b9\u3067\u306f\u306a\u3044\u3067\u3059\u3088\u306d\u3002 class Hash def collect_keys(value) each_key.select {|k| self[k] == value} end end p({:A=>0, :B=>2, :C=>0}.collect_keys(0)) #=>[:A, :C]","provider_url":"https://hatena.blog","blog_title":"Camera Obscura","author_name":"obelisk2","published":"2016-02-03 04:03:07","provider_name":"Hatena Blog","type":"rich","version":"1.0","blog_url":"https://obelisk.hatenablog.com/","url":"https://obelisk.hatenablog.com/entry/2016/02/03/040307","width":"100%","image_url":null,"title":"\u30cf\u30c3\u30b7\u30e5\u3067\u540c\u4e00\u306e\u5024\u3092\u6301\u3064\u30ad\u30fc\u3092\u96c6\u3081\u308b\uff08Ruby\uff09"}