Skip to content

Commit

Permalink
We don't need to require 'stringio'
Browse files Browse the repository at this point in the history
  • Loading branch information
judofyr committed Nov 30, 2009
1 parent 3be2a50 commit 982d0e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/camping-unabridged.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# 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 stringio rack].map { |l| require l }
%w[uri rack].map { |l| require l }

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 stringio rack].map{|l|require l};class Object;def meta_def m,&b
%w[uri rack].map{|l|require l};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 982d0e7

Please sign in to comment.