Skip to content

Instantly share code, notes, and snippets.

View ryanswood's full-sized avatar

Ryan Wood ryanswood

  • Able Health
  • San Francisco, Ca
View GitHub Profile
@ryanswood
ryanswood / 0.2.1-boggle_class_from_methods.rb
Last active December 31, 2015 19:09 — 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)
@boggle_board = board
end
def create_word(*coords)
coords.map { |coord| @boggle_board[coord.first][coord.last]}.join("")
end