Skip to content

Instantly share code, notes, and snippets.

View RyanHedges's full-sized avatar
🕶️
You won't have a meaningful life without work, but it's not the meaning of life!

Ryan Hedges RyanHedges

🕶️
You won't have a meaningful life without work, but it's not the meaning of life!
View GitHub Profile
class Vehicle
attr_reader :color
def initialize(attributes)
@color = attributes[:color]
@wheels = attributes[:wheels]
@engine_status = :off
end
def drive
@stutus = :driving