base.rb