Created
February 15, 2010 20:55
-
-
Save SamSaffron/304975 to your computer and use it in GitHub Desktop.
Test
This file contains 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
str = <<-EOS | |
Stallone | |
Star Trek | |
Star Wars | |
Starship Troopers | |
State Property | |
Stephen King | |
Steven Seagal | |
Steven Spielberg | |
Street Fighter | |
Stuart Little | |
Superman | |
TMNT | |
Tarantino Collection | |
Teen Wolf | |
Terminator | |
The Addams Family Collection | |
The Apple Dumpling Gang | |
The Arrival | |
The Art Of War | |
The Beatles Movies | |
The Crow | |
The Exorcist | |
The Fast and Furious | |
The Fly | |
The Librarian | |
The Man with No Name | |
The Marine | |
The Mummy | |
The Nutty Professor | |
The Prophecy | |
The Scorpion King | |
The Texas Chainsaw Massacre | |
The Whole Nine Yards | |
Tim Burton | |
Tin Tin | |
Tomb Raider | |
Toy Story | |
Transformers | |
Transporter | |
Twilight | |
Underworld | |
Universal Soldier | |
Vacancy | |
Van Damme | |
VeggieTales | |
Wallace and Gromit | |
War Games | |
Wayne's World | |
Weekend at Bernie's | |
Wes Craven | |
Wrong Turn | |
X-Files | |
X-Men | |
XxX | |
Zathura - Jumanji | |
Zorro Collection | |
EOS | |
str.split("\n").each_slice(6) do |*items| | |
puts "<tr><td>#{items.join("</td><td>")}</td></tr>" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment