Ruby first attempt.