2017-01-07から1日間の記事一覧
配列 [1,2,3] [1, "aaa", 'ks'] 文字列配列はRubyと同じ表記が可能 %w(one two three) シンボルの配列 %i(one two three) 配列ライクな型 https://crystal-lang.org/api/0.20.3/Array.html You can use a special array literal syntax with other types too…
配列 [1,2,3] [1, "aaa", 'ks'] 文字列配列はRubyと同じ表記が可能 %w(one two three) シンボルの配列 %i(one two three) 配列ライクな型 https://crystal-lang.org/api/0.20.3/Array.html You can use a special array literal syntax with other types too…