Memo

関数呼び出し時の配列引数に「*」をつけると、配列を展開した値が引数として渡されます。 # 関数呼び出し時の配列引数で*を使用すると、配列を展開した値が引数として渡される。
def hoge( a, b, c ) puts a

可変長引数 - うなの日記
To Tumblr, Love PixelUnion

We're updating Fluid!

Soon, we'll be updating the look and feel of this theme. Read about the changes here. You can easily turn off this notification in the theme customization panel.

Close