Update base.rb

Change result from nested array.