{"blog_url":"https://blog.betaful.life/","published":"2016-11-01 18:48:57","categories":["Ruby"],"version":"1.0","blog_title":"TMD45'\u03b2'LOG!!!","provider_url":"https://hatena.blog","url":"https://blog.betaful.life/entry/2016/11/01/184857","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.betaful.life%2Fentry%2F2016%2F11%2F01%2F184857\" title=\"\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u3067\u3042\u308b\u914d\u5217\u3092\u5c55\u958b\u3057\u3066\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u4f7f\u3046 - TMD45&#39;\u03b2&#39;LOG!!!\" 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":"tmd45","provider_name":"Hatena Blog","width":"100%","type":"rich","description":"\u666e\u901a\u306b Ruby Reference Manual \u306b\u8f09\u3063\u3066\u305f\u3084\u3064\u3067\u89e3\u6c7a\u3002 \u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057(super\u30fb\u30d6\u30ed\u30c3\u30af\u4ed8\u304d\u30fbyield) (Ruby 2.3.0) \u5f15\u6570\u306e\u76f4\u524d\u306b * \u304c\u3064\u3044\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u306e\u5f15\u6570\u306e\u5024\u304c\u5c55\u958b\u3055\u308c\u3066 \u6e21\u3055\u308c\u307e\u3059\u3002\u5c55\u958b\u306f\u30e1\u30bd\u30c3\u30c9 to_a \u3092\u7d4c\u7531\u3057\u3066\u884c\u306a\u308f\u308c\u307e\u3059\u3002 def f1 [1, 2] end def f2(one, two) p \"#{one}, #{two}\" end f2(f1) #=> ArgumentError: wrong number of arguments (given 1, expected 2) f2(*f1) #=> \"1, 2\" \u3042\u308f\u305b\u3066\u8aad\u307f\u2026","height":"190","title":"\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u3067\u3042\u308b\u914d\u5217\u3092\u5c55\u958b\u3057\u3066\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u4f7f\u3046","author_url":"https://blog.hatena.ne.jp/tmd45/","image_url":"https://cdn.mogile.archive.st-hatena.com/v1/image/tmd45/297791867729032195.png"}