{"version":"1.0","provider_url":"https://hatena.blog","description":"\u6982\u8981 \u540d\u524d\u4ed8\u304d\u5f15\u6570 \u5185\u5bb9 Ruby1.9\u4ee5\u524d\u306b\u306f\u540d\u524d\u4ed8\u304d\u5f15\u6570\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u64ec\u4f3c\u7684\u306b\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u30cf\u30c3\u30b7\u30e5\u3092\u5229\u7528\u3057\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb # encoding: utf-8 def hoge(args) args[:cnt] ||= 1 puts args[:hage]*args[:cnt] + args[:hige]*args[:cnt] end hoge(hige:'\u3072\u3052', hage:'\u306f\u3052') hoge(hage:'\u306f\u3052', hige:'\u3072\u3052', cnt:2) \u51fa\u529b \u306f\u3052\u3072\u3052 \u306f\u3052\u306f\u3052\u3072\u3052\u3072\u3052 \u53c2\u8003\uff08Ruby2.0\uff09 Ruby2.0\u3067\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u5f15\u6570\u304c\u8a00\u8a9e\u30b5\u30dd\u30fc\u2026","blog_title":"Tbpgr Blog","categories":["Ruby"],"author_url":"https://blog.hatena.ne.jp/tbpg/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20130702%2F1372778621\" title=\" \u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Ruby | \u30a4\u30c7\u30a3\u30aa\u30e0 | \u540d\u524d\u4ed8\u304d\u5f15\u6570 - Tbpgr Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://tbpgr.hatenablog.com/","url":"https://tbpgr.hatenablog.com/entry/20130702/1372778621","image_url":null,"title":" \u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Ruby | \u30a4\u30c7\u30a3\u30aa\u30e0 | \u540d\u524d\u4ed8\u304d\u5f15\u6570","author_name":"tbpg","type":"rich","width":"100%","published":"2013-07-02 00:23:41","height":"190","provider_name":"Hatena Blog"}