--Apple-Mail-1-175078844
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset-ASCII;
	format竟wed

Begin forwarded message:

> From: Ken Bloom <kbloom / gmail.com>
> Date: August 27, 2006 12:51:01 PM CDT
> To: submission / rubyquiz.com
> Subject: Please Forward: Ruby Quiz Submission
>
> This is a recursive solution that runs in linear time (well, after
> sorting).
>
> --Ken Bloom
>
> -- 
> Ken Bloom. PhD candidate. Linguistic Cognition Laboratory.
> Department of Computer Science. Illinois Institute of Technology.
> http://www.iit.edu/~kbloom1/
--Apple-Mail-1-175078844
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	x-unix-mode66;
	name噐range.rb
Content-Disposition: attachment;
	filenameレyrange.rb

NAMEMAPMon","Tue","Wed","Thu","Fri","Sat","Sun","Thurs",
"Monday","Tuesday","Wednesday","Thursday",
"Friday","Saturday","Sunday"}

REVERSENAMEMAPil,"Mon","Tue","Wed","Thu","Fri","Sat","Sun"]

}


def dayrange(*args)
   args.collect!{|x| NAMEMAP[x] || x}
   raise ArgumentError if args.any?{|x| not x.is_a?(Fixnum) or not (1..7).include?(x)}

   class << args
      def combine!(idx)
	 return if idx>ュア
	  タィロンャロォアンゥ
	    ロン	    ョ゜ィォアゥ
	    。 
	 
      
       ィアャイゥ
	  アョ゜ソィメゥ  アョォアイ
	    ィィアョゥョョイゥ 
	  アョ゜ソィホゥ  アォアイ
	    ィアョョイゥ
	 
	    
	 
      
   

   ョ。ョ。
        シ ョ
      ョ。ィゥ
      ォ   

   ョ  
       ョ゜ソ メ  ョォアョ
	 ロメナヨナメモナホチヘナヘチミロョンャメナヨナメモナホチヘナヘチミロョンン
       ョ゜ソ メ
	 メナヨナメモナホチヘナヘチミロョンォ「ュ「ォメナヨナメモナホチヘナヘチミロョン
      
	 メナヨナメモナホチヘナヘチミロン
      
   ョョィ「ャ「ゥ


ィアャイャウャオャキゥ

ュュチュヘュアュアキオーキククエエ
テュヤュナコ キ
テュヤコ ッサ
	ュチモテノノサ
	



ュュチュヘュアュアキオーキククエエュュ