0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Ruby】配列とは?

Posted at

配列とは?

・配列とは複数の値をまとめて管理したいときに使用
・配列は「箱が順番に並んだグループ」

配列の作成方法

Rubyにおいて配列を作成する場合は括弧( [] )を使用。
また変数を、複数用意する際は、括弧の中に値をカンマ区切りで記述していく。

■使用例
array = [“犬”, “ネコ”, “ハリネズミ”]

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?