{"author_name":"mas-higa","width":"100%","categories":["Ruby"],"image_url":null,"type":"rich","height":"190","url":"https://mas-higa.hatenadiary.org/entry/20100427/1272375945","blog_url":"https://mas-higa.hatenadiary.org/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/mas-higa/","published":"2010-04-27 22:45:45","provider_name":"Hatena Blog","title":"\u6570\u5024\u304b\u3089\u30ed\u30fc\u30de\u6570\u5b57\u3078\u306e\u5909\u63db","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmas-higa.hatenadiary.org%2Fentry%2F20100427%2F1272375945\" title=\"\u6570\u5024\u304b\u3089\u30ed\u30fc\u30de\u6570\u5b57\u3078\u306e\u5909\u63db - \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>","version":"1.0","blog_title":"\u3072\u304c\u304d\u306e\u65e5\u8a18","description":"\u7b2c42\u56de Ruby/Rails\u52c9\u5f37\u4f1a@\u95a2\u897f \u306e\u6f14\u7fd2\u554f\u984c \u4e00\u65b9 Windows \u3067\u306f Excel \u3092\u4f7f\u3063\u305f\u3002 require 'win32ole' class Integer EXCEL = WIN32OLE.new 'Excel.Application' def to_roman EXCEL.WorksheetFunction.Roman(self) end end [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 14, 15, 16, 19, 20, 21, 24, 25, 26, 40, 49, 50, 51, 54, 55, 56, 60, 99, 100, 101, \u2026"}