Skip to content

Instantly share code, notes, and snippets.

View andychongyz's full-sized avatar
🌶️
BURN!

Andy Chong andychongyz

🌶️
BURN!
  • Kuala Lumpur, Malaysia
  • 14:53 (UTC +08:00)
View GitHub Profile
require 'byebug'
class Orange
attr_reader :diameter
# Initializes a new Orange with diameter +diameter+
def initialize
@diameter = rand(10)+1
end
end