{"blog_url":"https://secret-garden.hatenablog.com/","author_name":"osyo-manga","width":"100%","title":"Ruby \u3067 Hash \u306e\u30ad\u30fc\u3092\u6587\u5b57\u5217\u304b\u3089\u30b7\u30f3\u30dc\u30eb\u306b\u5909\u63db\u3059\u308b","provider_name":"Hatena Blog","image_url":null,"blog_title":"Secret Garden(Instrumental)","url":"https://secret-garden.hatenablog.com/entry/2015/06/26/000000","type":"rich","description":"\u3068\u3001\u3044\u3046\u306e\u3092\u3084\u308a\u305f\u304b\u3063\u305f\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3084\u308b\u306e\u304c\u7c21\u5358\u304b\u306a\uff1f h = { \"name\" => \"homu\", \"age\" => 14 } Hash[ h.map{ |k, v| [k.to_sym, v] } ] # => {:name=>\"homu\", :age=>14} [\u304a\u307e\u3051] \u3064\u3044\u3067\u306b iolite \u3092\u4f7f\u3063\u3066\u3084\u3063\u3066\u307f\u305f\u3002 require \"iolite\" require \"iolite/adaptored/array\" include Iolite::Placeholders h = { \"name\" => \"homu\", \"age\" => 14 } Hash[ h.map &[arg\u2026","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/osyo-manga/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2015%2F06%2F26%2F000000\" title=\"Ruby \u3067 Hash \u306e\u30ad\u30fc\u3092\u6587\u5b57\u5217\u304b\u3089\u30b7\u30f3\u30dc\u30eb\u306b\u5909\u63db\u3059\u308b - 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>","categories":[],"published":"2015-06-26 00:00:00","version":"1.0"}