Created
July 21, 2012 05:44
-
-
Save verdi327/3154749 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car | |
include PimpedOut | |
properties | |
tires | |
doors | |
cd changer | |
def drive(mph) | |
end | |
def reverse(mph) | |
end | |
def park | |
end | |
end | |
braydens_car = Car.new(doors = 2, tires = '24in', cd_changer = true) | |
###before module | |
braydens_car.drive(mph) | |
braydens_car.suicide_doors | |
module PimpedOut | |
def suicide_doors | |
end | |
def nitros | |
end | |
def tinted_windows | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment