Update core_worlds.rb

made it Ruby 2.0 compliant