{"blog_url":"https://rhysd.hatenablog.com/","width":"100%","categories":["Ruby"],"blog_title":"\u306f\u3084\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u308a\u305f\u3044","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frhysd.hatenablog.com%2Fentry%2F20120504%2F1336155621\" title=\" REXML \u3067 XML \u3092\u89e3\u6790\u3057 Hash \u306b\u5909\u63db\u3059\u308b - \u306f\u3084\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u308a\u305f\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","description":"REXML \u306f Ruby \u306b\u6a19\u6e96\u3067\u3064\u3044\u3066\u304f\u308b XML\u30d1\u30fc\u30b5\u3067\u3059\uff0eXML \u306a\u6587\u5b57\u5217\u3092\u98df\u308f\u305b\u308b\u3068\u30d1\u30fc\u30b9\u3057\u3066 REXML::Document \u3068\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\uff0e \u3057\u304b\u3057\uff0cREXML \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u3066\u6271\u3044\u3092\u77e5\u3089\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\uff0cHash \u3067\u53d6\u308a\u305f\u3044\u3053\u3068\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\u5b9f\u969b ActiveSupport \u306e core_ext \u306b\u306f Hash.from_xml \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\uff0e from_xml \u306e\u305f\u3081\u3060\u3051\u306b ActiveSupport \u3092 require \u3059\u308b\u306e\u3082\u5104\u52ab\u3060\u3063\u305f\u306e\u3067\uff0c\u7c21\u5358\u306b\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f\uff0e class Hash class << self def from_xml(rexml\u2026","author_name":"rhysd","provider_url":"https://hatena.blog","height":"190","version":"1.0","published":"2012-05-04 03:20:21","author_url":"https://blog.hatena.ne.jp/rhysd/","title":" REXML \u3067 XML \u3092\u89e3\u6790\u3057 Hash \u306b\u5909\u63db\u3059\u308b","url":"https://rhysd.hatenablog.com/entry/20120504/1336155621","image_url":null}