base.rb for build_proto.rb