Update base.rb

Added support for slim