2016-07-27 配列別の書き方 Ruby 配列の普通じゃない書き方 array = %w(one two three four) p array # => ["one", "two", "three", "four"] 参考:Rubyで%記法(パーセント記法)を使う - Qiita