Skip to content

Instantly share code, notes, and snippets.

@verdi327
Created July 21, 2012 05:44
Show Gist options
  • Save verdi327/3154749 to your computer and use it in GitHub Desktop.
Save verdi327/3154749 to your computer and use it in GitHub Desktop.
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