Skip to content

Instantly share code, notes, and snippets.

@gary1410
gary1410 / 0_reuse_code.js
Created February 6, 2014 18:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
class Vehical
attr_accessor :drive, :brake
def initialize(args)
@color = args[:color]
@wheels = args[:wheels]
@status = :stopped
# @driving = false
end
def drive