Update codigo_base.rb to new version of Ruby