Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
puts ステートメントを次のように使用できるかどうかを知りたいです。
array = ["a", "new", "array"] puts "array length is: " + array.length
+ 演算子を使用すると、エラーが発生します。私はこの出力を得ようとしています:
array length is 3
Javaでこれを行う方法は知っていますが、Rubyに相当するものは何ですか?
ありがとう