<<

ary
Instance Public methods

AppendâPushes the given object on to the end of this array. This expression returns the array itself, so several appends may be chained together.

1
2
[ 1, 2 ] << "c" << "d" << [ 3, 4 ]
        #=>  [ 1, 2, "c", "d", [ 3, 4 ] ]
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.