{"image_url":null,"description":"Haskell\u7248\u3060\u3068\u305d\u306e\u65e5\u306e\u95a2\u4fc2\u306a\u3044\u30a8\u30f3\u30c8\u30ea\u3082\u4e0a\u304c\u3063\u3066\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3069\u3046\u306b\u304b\u3059\u308b\u3084\u3064\u3092Ruby\u3067\u66f8\u3044\u305f\u3002-d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30a8\u30f3\u30c8\u30ea\u306e\u5185\u5bb9\u8a73\u7d30\u3082\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3002 require 'optparse' require 'kconv' class String def is_int? return /^#{self.to_i}(\\.0+)?$/ =~ self ? true : false end end def search(search,file_path,detail) file = File.open(file_path,\"r\") lines = [] while line = file\u2026","height":"190","author_name":"syou6162","published":"2008-05-05 05:26:07","type":"rich","author_url":"https://blog.hatena.ne.jp/syou6162/","categories":["Ruby"],"provider_name":"Hatena Blog","version":"1.0","url":"https://www.yasuhisay.info/entry/20080505/1209932767","blog_title":"yasuhisa's blog","width":"100%","blog_url":"https://www.yasuhisay.info/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20080505%2F1209932767\" title=\"\u306f\u3066\u30c0\u30e9\u306e\u30ed\u30fc\u30ab\u30eb\u30bf\u30b0\u691c\u7d22\u3092Ruby\u306b\u79fb\u690d\u3057\u305f - yasuhisa&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u306f\u3066\u30c0\u30e9\u306e\u30ed\u30fc\u30ab\u30eb\u30bf\u30b0\u691c\u7d22\u3092Ruby\u306b\u79fb\u690d\u3057\u305f","provider_url":"https://hatena.blog"}