Roman numeral converter
In all my years, as a developer, I’ve never had a project that required converting Roman numerals… that project, wherever it is out there in the wil...
Ruby examples and explanations
In all my years, as a developer, I’ve never had a project that required converting Roman numerals… that project, wherever it is out there in the wil...
Yup, this is still very much alpha and can be refactored. I’ve broken it apart into multiple files, had other plans and ran out of time, but the meat of t...
Yup, this is still very much alpha and can be refactored. I’ve broken it apart into multiple files, had other plans and ran out of time, but the meat of t...
This example was given as a spin-off to the Google Code Jam “Cookie Clicker” challenge. class Investor def initialize(*args) @c, @f, @x = args @inco...
Here is my simple answer to a typical test given during interviews class FizzBuzz FIZZ = 'Fizz' BUZZ = 'Buzz' def FizzBuzz.fizz_it(iterations = 100) (1..iterati...