Skip to content

Instantly share code, notes, and snippets.

View euge's full-sized avatar

Eugene Gimelberg euge

  • SecureDocs
  • Santa Barbara
View GitHub Profile
@euge
euge / url_dsl.rb
Created December 24, 2009 04:21 — forked from defunkt/url_dsl.rb
require 'open-uri'
# url dsl -- the ultimate url dsl!
#
# You just can't beat this:
#
# $ irb -r url_dsl
# >> include URLDSL
# => Object
# >> http://github.com/defunkt.json
.DS_Store
*.log

If one was inclined to use the acts_as_yaffle pattern, they would probably use the second one, rather than the heavily cargo-culted first one.