Quotes help make search much faster. Example: "Practice Makes Perfect"

Sunday, January 13, 2013

Codecademy Sample Solution: Making a Request



require 'open-uri'

# Open http://placekitten.com/ for reading on line 4!
kittens = open('http://placekitten.com')
body = kittens.read[559, 441]

# Add your puts statement below!
puts(body)

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts