🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #699

Re: trzy możliwości

#699
From: Paweł Kondzior
Date: Fri, 19 Oct 2007 13:58
20 lines
1475 bytes
if
elsif
elsif
..
elsif
else
end

Jesli naprawde nie chce ci sie zaopatrzac w jakas ksiazke do rubego, lub 
zagladac do dokumentacji to polecam
http://www.zenspider.com/Languages/Ruby/QuickRef.html
w tym konkretnym przpadku
http://www.zenspider.com/Languages/Ruby/QuickRef.html#23


Dnia 07-10-19 15:38, Arte napisał(a):
> witam,
> jestem nowy w ror i mam pewien problem, otóż chciałbym dla pewnej akcji 
> mieć trzy mozliwości wyboru, znam tylko na dwie (if..else..end), dzięki 
> z góry za jakąś podpowiedz.
Technical Details
Message-ID: <ffad8t$mdp$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <ffac18$m0m$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Paweł Kondzior <kondzior.p@gmail.com>
Newsgroups: pl.comp.lang.ruby
Subject: Re: trzy możliwości
Date: Fri, 19 Oct 2007 15:58:59 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 20
Message-ID: <ffad8t$mdp$1@atlantis.news.tpi.pl>
References: <ffac18$m0m$1@inews.gazeta.pl>
NNTP-Posting-Host: dsl-out.exorigo.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1192802398 22969 83.19.133.162 (19 Oct 2007 13:59:58 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 19 Oct 2007 13:59:58 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <ffac18$m0m$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit