Skip to content

Instantly share code, notes, and snippets.

@tigawa
Last active December 11, 2015 18:59
Show Gist options
  • Save tigawa/4645779 to your computer and use it in GitHub Desktop.
Save tigawa/4645779 to your computer and use it in GitHub Desktop.
ruby 配列の定義
a = ['ant','bbe','cat','dog','elk']
a = %w{ ant bee cat dog elk}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment