{"width":"100%","published":"2013-07-04 09:09:17","version":"1.0","type":"rich","categories":["Ruby"],"provider_name":"Hatena Blog","description":"Ruby\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002 test.txt\u30d5\u30a1\u30a4\u30eb\u306b1\u79d2\u3054\u3068\u306b\"test\"\u3068\u66f8\u304d\u7d9a\u3051\u308b\u30c7\u30fc\u30e2\u30f3\u3067\u3059\u3002 # daemon.rb require 'fileutils' require 'logger' class DaemonTest def initialize @term = false @logger = Logger.new(STDOUT) @logger.info \"daemon start...\" @pid_file_path = './daemon.pid' @file = \"./test.txt\" end def execute File.open(@file, \"w\"\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnuke.hateblo.jp%2Fentry%2F2013%2F07%2F04%2F090917\" title=\"Ruby\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b - \u306c\u3051\u30e9\u30dc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/hiro_su/","title":"Ruby\u3067\u30c7\u30fc\u30e2\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b","height":"190","blog_title":"\u306c\u3051\u30e9\u30dc","author_name":"hiro_su","blog_url":"https://nuke.hateblo.jp/","url":"https://nuke.hateblo.jp/entry/2013/07/04/090917"}