Would you have to write the RE for every declaration? ie...
module App::Controllers get '/(.*)' do |name| "Hello #{name}" end put '/(.*)' do |name| "Hello #{name}" end end Dave On Thu, Aug 25, 2011 at 1:20 PM, Magnus Holm <judo...@gmail.com> wrote: > I just pushed a new feature to Camping: Simple controllers. > > module App::Controllers > get '/(.*)' do |name| > "Hello #{name}" > end > end > > What do you think? Useful? Or should I revert it? It currently costs > us 87 bytes. > > // Magnus Holm > _______________________________________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -- Dave _______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list