Changeset 220

Show
Ignore:
Timestamp:
09/24/2007 04:39:16 (14 months ago)
Author:
zimbatm
Message:

Oops commit. Forgot camping.rb

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping.rb

    r218 r220  
    11%w[active_support markaby tempfile uri].map{|l|require l};module Camping;C=self 
    2 f=__FILE__;S=IO.read(f)unless f=~/\(/;P="Cam\ping Problem!";H= 
    3 HashWithIndifferentAccess;class H;def method_missing m,*a;m.to_s=~/=$/?self[$` 
     2S=IO.read(f)rescue nil;P="Cam\ping Problem!";H=HashWithIndifferentAccess;class 
     3H;def method_missing m,*a;m.to_s=~/=$/?self[$` 
    44]=a[0]:a==[]?self[m]:super end;alias u regular_update;end;module Helpers 
    55def R c,*g;p,h=/\(.+?\)/,g.grep(Hash);(g-=h).inject(c.urls.find{|x|x.scan(p).