Fix typo in base.rb

The typo can be seen in the diff.