Skip to content

Instantly share code, notes, and snippets.

View common-nighthawk's full-sized avatar

Daniel Deutsch common-nighthawk

View GitHub Profile
@common-nighthawk
common-nighthawk / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:56 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle 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("")
end