{"author_name":"tuto0621","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fongaeshi.hatenablog.com%2Fentry%2Fmruby-find-method\" title=\"mruby\u3067\u3042\u308b\u30af\u30e9\u30b9\u306b\u7279\u5b9a\u306e\u540d\u524d\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u8abf\u3079\u308b\u65b9\u6cd5 - \u304a\u3093\u304c\u3048\u3057\u306e blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","categories":["diary","rubypico"],"height":"190","url":"https://ongaeshi.hatenablog.com/entry/mruby-find-method","title":"mruby\u3067\u3042\u308b\u30af\u30e9\u30b9\u306b\u7279\u5b9a\u306e\u540d\u524d\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u8abf\u3079\u308b\u65b9\u6cd5","type":"rich","version":"1.0","blog_title":"\u304a\u3093\u304c\u3048\u3057\u306e blog","description":"\u6b21\u306ePictRuby\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5bfe\u8a71\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7c21\u5358\u306b\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308b\u3002 \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3053\u3093\u306a\u611f\u3058\u3002(\u66f8\u304d\u65b9\u306f\u6a21\u7d22\u4e2d\u3001\u305d\u306e\u3046\u3061\u5909\u308f\u308b\u304b\u3082) def chat(input) @num ||= 0 case input when \"name\", \"Name\" \"My name is Rubo\" when \"Rubo\" \"Yes, my load.\" when \"help\", \"Help\" <<EOF Echo your message name: teach my name halt: stop this program EOF when \"halt\", \"Halt\" aaaa else @n\u2026","author_url":"https://blog.hatena.ne.jp/tuto0621/","width":"100%","provider_name":"Hatena Blog","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/t/tuto0621/20160315/20160315001321.jpg","published":"2016-03-15 00:15:11","blog_url":"https://ongaeshi.hatenablog.com/"}