{"provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20090407%2Fp2\" title=\" BASIC \u98a8 DSL (\u5618) - \u307e\u3081\u3081\u3082\" 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,"blog_title":"\u307e\u3081\u3081\u3082","published":"2009-04-07 00:00:01","title":" BASIC \u98a8 DSL (\u5618)","blog_url":"https://mametter.hatenablog.com/","categories":["Ruby"],"description":"Ruby\u3067\u306f\u884c\u756a\u53f7\u304c\u3069\u3046\u3084\u3063\u3066\u3082\u7121\u7406\u3067 Scala DSL\u306b\u3088\u308bBASIC\u5b9f\u88c5 - Greenbear Diary (2009-04-07) \u5168\u304f\u305d\u306e\u901a\u308a\u3067\u6094\u3057\u3044\u306e\u3067\u3001\u305b\u3081\u3066\u3044\u3093\u3061\u304d\u3092\u3002 # coding: UTF-8 require \"basic\" basic do 10 PRINT \"Hello world!\" 20 END end \u4ee5\u4e0b\u30bd\u30fc\u30b9\u3002 class << Object def const_missing(*) end end def basic(&blk) class << env = Object.new alias PRINT puts def method_missing(\u2026","version":"1.0","author_url":"https://blog.hatena.ne.jp/ku-ma-me/","type":"rich","height":"190","provider_url":"https://hatena.blog","url":"https://mametter.hatenablog.com/entry/20090407/p2","author_name":"ku-ma-me"}