Skip to content

Instantly share code, notes, and snippets.

@Santrece
Santrece / 0.2.1-boggle_class_from_methods.rb
Last active January 3, 2016 04: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(boggle_board)
@boggle_board = boggle_board
end
def create_word(*coords)
coords.map { |coord| @boggle_board[coord.first][coord.last]}.join("")
end
@Santrece
Santrece / gist:8178947
Created December 30, 2013 07:31
HTML Drill: A Simple Form
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form action= "#" method= "POST" name= "symptoms_form">
<label for="patient name">Patient name:</label>
<input type= "text" name= "patient name" id= "patient name"><br>
<label for="birthdate">Birthdate:</label>