Update core.rb

typo