Skip to content

Instantly share code, notes, and snippets.

View MasonONeal's full-sized avatar

Mason O'Neal MasonONeal

  • Full Stack Web Developer
  • San Francisco
View GitHub Profile
@MasonONeal
MasonONeal / 0.2.1-boggle_class_from_methods.rb
Last active December 30, 2015 02: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(dice_grid)
@boggle_board = dice_grid
end
def create_word(*coords)
coords.map { |coord| @boggle_board[coord.first][coord.last]}.join("")
end