three simple ruby questions