Ruby Ruby Objects and Classes Ruby Objects and Classes Instantiation

array = Array.new is retrieving error

this must be an error on ruby track?

ruby.rb
array = Array.new

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Tiago Mendes! Your code looks just fine to me for that Step, but keep in mind that these tasks are cumulative. You must leave the code from Step 1 intact. There should also be the creation of a String from step 1. Adding back in the code from Step 1 causes this code to pass for me.

Hope this helps! :sparkles: