Skip to content

Instantly share code, notes, and snippets.

View darrendahl's full-sized avatar
🏠
Working from home

Darren Dahl darrendahl

🏠
Working from home
View GitHub Profile
@darrendahl
darrendahl / 0.2.1-boggle_class_from_methods.rb
Last active December 30, 2015 13:09 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
attr_reader :board
def initialize(board)
@board = board
end
def create_word(*coords)
coords.map { |coord| @board[coord.first][coord.last]}.join("")