Extracted by SnappySnippet.
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
# Live cells with: | |
# < 2 living neighbors dies to underpop | |
# > 3 living neighbors dies to overpop | |
# Otherwise, lives! | |
# | |
# Dead cells with exactly 3 living neighbors is born | |
# | |
# . 0 . | |
# . 0 . | |
# . 0 . |
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
# Gemfile | |
ruby '2.1.1' | |
gem 'nokogiri' | |
gem 'pry' | |
# scrapey.rb | |
require 'rubygems' | |
require "net/http" |
NewerOlder