Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

🧹 chore.rb Cleanup

Your kid is learning Ruby and made a great start — now help them level up! Refactor this seasonal chore class so it calls real methods and reads cleanly.

Starting Text

vim@sandbox: ~/start.txt
vim
class Chore def initialize(stuff) @stuff = stuff end def do_all for thing in @stuff do puts thing end end def rake_leaves puts "Raking leaves..." end def make_pumpkin_spice_latte puts "Brewing pumpkin spice latte..." end end

Expected Output

vim@sandbox: ~/expected.txt
vim
class Chore def initialize(chores) @chores = chores end def do_all for chore in @chores do send(chore) end end def rake_leaves puts "Raking leaves..." end def make_pumpkin_spice_latte puts "Brewing pumpkin spice latte..." end end

Hold on, cowboy

You gotta sign up to view challenges

New challenges appear every week. They're fun, and insightful

Sign up or sign in now!