From 6e6fe56a09c682d5bb803e3001a753bf50a5bce6 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Sat, 27 Mar 2010 21:34:12 +0000 Subject: [PATCH] camping/camping #8 is implemented now. so short. --- lib/camping-unabridged.rb | 3 ++- lib/camping.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/camping-unabridged.rb b/lib/camping-unabridged.rb index 7006c04..92c17e0 100644 --- a/lib/camping-unabridged.rb +++ b/lib/camping-unabridged.rb @@ -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: diff --git a/lib/camping.rb b/lib/camping.rb index 6e62a61..6aedd87 100644 --- a/lib/camping.rb +++ b/lib/camping.rb @@ -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<