Skip to content

Commit

Permalink
camping/camping #8 is implemented now. so short.
Browse files Browse the repository at this point in the history
  • Loading branch information
busbey authored and judofyr committed Mar 30, 2010
1 parent 2d817a9 commit 6e6fe56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/camping-unabridged.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
# nicely with piles of documentation everywhere. This documentation is entirely
# generated from lib/camping-unabridged.rb using RDoc and our "flipbook" template
# found in the extras directory of any camping distribution.
%w[uri rack].map { |l| require l }
require "uri"
require "rack"

class Object #:nodoc:
def meta_def(m,&b) #:nodoc:
Expand Down
2 changes: 1 addition & 1 deletion lib/camping.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%w[uri rack].map{|l|require l};class Object;def meta_def m,&b
require "uri";require "rack";class Object;def meta_def m,&b
(class<<self;self end).send:define_method,m,&b end end;module Camping;C=self
S=IO.read(__FILE__)rescue nil;P="<h1>Cam\ping Problem!</h1><h2>%s</h2>"
U=Rack::Utils;Apps=[];class H<Hash
Expand Down

0 comments on commit 6e6fe56

Please sign in to comment.