{"image_url":null,"description":"method_missing\u3058\u3083\u306a\u304f\u3066\u3001\u51e6\u7406\u3092\u306f\u3055\u3093\u3067GDBM\u306b\u59d4\u8b72\u3067\u304d\u305f\u308a\u3059\u308b\u3068\u3044\u3044\u306e\u306b\u306a\u3041\u3002 require 'gdbm' class Db def initialize(dbname) @dbfile = File.expand_path(dbname) @lockfile = \"#{File.dirname(@dbfile)}/lock_#{File.basename(@dbfile)}\" end def transaction File.open(@lockfile, 'a') {|f| f.flock(File::LOCK_EX) GDBM.open(@dbfile) {|dbm|\u2026","published":"2007-05-28 00:00:01","author_url":"https://blog.hatena.ne.jp/winebarrel/","version":"1.0","blog_title":"so what","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20070528%2Fp3\" title=\" gdbm:\u7c21\u5358\u306a\u30e9\u30c3\u30d1\u30fc - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"winebarrel","width":"100%","title":" gdbm:\u7c21\u5358\u306a\u30e9\u30c3\u30d1\u30fc","height":"190","blog_url":"https://so-wh.at/","provider_name":"Hatena Blog","url":"https://so-wh.at/entry/20070528/p3","categories":["RUBY"],"provider_url":"https://hatena.blog","type":"rich"}