Update Base.rb

code changes