Skip to content
Chapley Watson
The Word Guppy
  • Home
  • Stories
    • The Black Box
    • Truth
  • Poetry
    • A Writer’s Storm
    • Anxiety
    • Balloon Haiku
    • Do you know me?
    • Jealousy
    • My Name
    • Plight of the Guitar Player
    • The Addiction
    • The Bridge
    • The Drummer
    • The Green Monster

Category: Ruby

Ruby examples and explanations

Ruby

Roman numeral converter

Posted on September 24, 2018 by Chapley Watson / 0 Comment

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

Coogle Code Jam “Magic Trick” solution

Posted on May 13, 2014 by Chapley Watson / 0 Comment

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...

Ruby

Coogle Code Jam “Magic Trick” solution

Posted on May 13, 2014 by Chapley Watson / 0 Comment

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...

Ruby

Google Code Jam “Cookie Clicker”

Posted on May 13, 2014 by Chapley Watson / 0 Comment

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...

Ruby/Writing

“FizzBuzz” code test

Posted on May 13, 2014 by Chapley Watson / 0 Comment

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...

Recent Posts

  • Roman numeral converter
  • (no title)
  • Amnesty and Immigration Fix
  • RIP Tracy Morgan
  • I will be an Entrepreneur later

Categories

  • Advice (9)
  • Crazy (2)
  • Misc (9)
  • Rants (4)
  • Ruby (5)
  • Writing (5)
    • Poetry (1)
    • Stories (1)

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



© 2025 Chapley Watson
Powered by WordPress | Theme: Graphy by Themegraphy