From 636cca450a01da311a92dfbc85f08cd20bdae02d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 13 Dec 2010 14:55:20 -0800 Subject: minor documentation updates This needs a LOT of work. --- lib/metropolis.rb | 4 ++++ lib/metropolis/multi_hash.rb | 1 + 2 files changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/metropolis.rb b/lib/metropolis.rb index 0af1465..51758b5 100644 --- a/lib/metropolis.rb +++ b/lib/metropolis.rb @@ -2,6 +2,10 @@ require 'rack' require 'uri' +# Metropolis is configured using Rack::Builder, so "run" it like +# any other Rack application by placing it in your config.ru: +# +# run Metropolis.new(:uri => "hash:///") module Metropolis autoload :InputWrapper, 'metropolis/input_wrapper' autoload :Deflate, 'metropolis/deflate' diff --git a/lib/metropolis/multi_hash.rb b/lib/metropolis/multi_hash.rb index 65ed6fe..7054883 100644 --- a/lib/metropolis/multi_hash.rb +++ b/lib/metropolis/multi_hash.rb @@ -1,4 +1,5 @@ # -*- encoding: binary -*- +# :enddoc: module Metropolis::MultiHash autoload :Digest, 'metropolis/multi_hash/digest' autoload :ToI, 'metropolis/multi_hash/to_i' -- cgit v1.2.3-24-ge0c7