Skip to content

Instantly share code, notes, and snippets.

View patrickforrest's full-sized avatar

patrickforrest

View GitHub Profile
# DBC Chicago Phase 0 Assessment
# EXERCISE 1
first_name = "Patrick"
last_name = "Ahlberg"
# EXERCISE 2
@patrickforrest
patrickforrest / 0.2.1-boggle_class_from_methods.rb
Last active January 3, 2016 01:49 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
def initialize board
@board = board
end
def create_word *coord
coord.map { |coord| @board[coord.first][coord.last]}.join("")
end