Skip to content

Instantly share code, notes, and snippets.

View Steveo1485's full-sized avatar

Steven Nugent Steveo1485

View GitHub Profile
@Steveo1485
Steveo1485 / index.html
Last active December 26, 2015 01:38 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
class Vehicle
attr_reader :color, :wheels, :status, :owner, :radio_status
def initialize(args)
@color = args[:color]
@wheels = 4
@owner = args[:owner]
end
def drive
@status = :driving
@Steveo1485
Steveo1485 / README.md
Last active December 24, 2015 02:09 — forked from labe/README.md

##Getting started

  • Fork this gist
  • Clone your forked copy onto your local machine
  • Open the files in your text editor
  • $ ruby tests.rb

##Procedure

  • Read the error message