Skip to content

Instantly share code, notes, and snippets.

View mjafshar's full-sized avatar

Mohammad Javad Afshar mjafshar

View GitHub Profile
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@mjafshar
mjafshar / 0.2.1-boggle_class_from_methods.rb
Last active January 2, 2016 16:19 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
class BoggleBoard
def initialize(board)
@board = board
end
def create_word(*coords)
coords.map { |coord| @board[coord.first][coord.last]}.join('')
end
def get_row(row)