About This Video
This video is
Describes the basics of data transformations using functional programming techniques. Examples are all in Ruby, but the techniques are applicable across most languages which support functional constructs.
This website uses Adobe® Flash™ Player 9
Download Flash Now
If you are using Internet Explorer, you will need to restart your browser
after installing Flash.
Adobe and Flash are registered trademarks of Adobe Systems incorporated.
All rights reserved.
WilliamS...
7 months ago 0 + -Let me quote from the presentation -
"Oh, I got that wrong"
"Oh, I misspelled that"
"Oh, the syntax in Ruby is stupid. No wait, I got that wrong"
The meat of this presentation is parsing HTML with regular expressions in Ruby. What idiot does that?
require 'hpricot'
doc = Hpricot.parse("index.html")
(doc/:p/:a).each do |link|
p link.attributes
end