This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Paired with Anne--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>DOM manipulation with jQuery</title> | |
<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="css/jquery_fun.css" type="text/css" media="screen"> | |
<!-- Add a link to jQuery CDN here script here --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BoggleBoard | |
def initialize(board) | |
@board = board | |
end | |
def create_word(*coords) | |
coords.map{|coord| @board[coord.first][coord.last]}.join("") | |
end |