Newsgroups: comp.lang.ruby
From: "amrangaye" <amrang...@gmail.com>
Date: 30 Jan 2006 08:52:40 -0800
Local: Mon, Jan 30 2006 11:52 am
Subject: Re: Port a Library (#64)
Hello.
This is my first rubyquiz, and I am still learning Ruby. I decided to Acme::Bleach is a module by Damian Conway, and it literally bleaches #Ruby port of Acme::Bleach - by Amran Gaye $tie="\t"*8 def whiten(laundry) def brighten(laundry) def dirty?(laundry) #Laundry is dirty only if it contains def proper?(laundry) #shirt is proper if it contains a shirt = IO.readlines($0).to_s #Read in current program if(not dirty?(shirt) and proper?(shirt)) You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||